提交代码

yy_dev
胡锐 2 years ago
parent 0c47196664
commit d39ba6391a
  1. 38
      bweb/src/main/java/com/bweb/controller/TestController.java

@ -67,37 +67,14 @@ public class TestController {
@Resource
private SaasCommon saasCommon;
@Resource
private SaasMerRequest saasMerRequest;
@Resource
private SaasMerService saasMerService;
@Resource
private LaKaLaTradeService laKaLaTradeService;
@Resource
private LaKaLaTradeSeparateService laKaLaTradeSeparateService;
@Resource
private CommonService commonService;
@Resource
private BsLklMccService lklMccService;
@Resource
private LaKaLaLedgerService laKaLaLedgerService;
@Resource
private LaKaLaMerService laKaLaMerService;
@Resource
private BsTradeOrderService tradeOrderService;
@Resource
private BsTradeOrderProfitSharingService tradeOrderProfitSharingService;
@Resource
private BsMerService merService;
@Resource
private SaasActivityService saasActivityService;
@Resource
private BsMerPlatformNoService merPlatformNoService;
@Resource
@ -109,6 +86,21 @@ public class TestController {
@Resource
private BsStoreService storeService;
@RequestMapping(value="/saas",method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "saas")
public ResponseData saas(@RequestParam(value = "code", required = true) String code) {
try {
return ResponseMsgUtil.success(saasCommon.getToken());
} catch (Exception e) {
log.error(e.getMessage(), e);
return ResponseMsgUtil.exception(e);
}
}
@RequestMapping(value="/refreshMerStatus",method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "refreshMerStatus")

Loading…
Cancel
Save