|
@@ -1,11 +1,11 @@
|
|
|
package com.ylx.web.controller.massage;
|
|
|
|
|
|
-
|
|
|
import com.ylx.common.core.controller.BaseController;
|
|
|
import com.ylx.common.core.domain.R;
|
|
|
import com.ylx.common.core.domain.model.WxLoginUser;
|
|
|
import com.ylx.massage.domain.TBankUser;
|
|
|
import com.ylx.massage.domain.vo.BankVo;
|
|
|
+import com.ylx.massage.service.TBankService;
|
|
|
import com.ylx.massage.service.TBankUserService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -30,7 +30,11 @@ public class TBankUserController extends BaseController {
|
|
|
@Resource
|
|
|
private TBankUserService tBankUserService;
|
|
|
|
|
|
-
|
|
|
+ /**
|
|
|
+ * 服务对象
|
|
|
+ */
|
|
|
+ @Resource
|
|
|
+ private TBankService tBankService;
|
|
|
/**
|
|
|
* 通过主键查询单条数据
|
|
|
*
|
|
@@ -70,5 +74,10 @@ public class TBankUserController extends BaseController {
|
|
|
return R.ok(this.tBankUserService.deleteBank(tBankUser));
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("银行配置列表")
|
|
|
+ @GetMapping("bankList")
|
|
|
+ public R selectAll() {
|
|
|
+ return R.ok(this.tBankService.list());
|
|
|
+ }
|
|
|
}
|
|
|
|