|
|
@ -67,37 +67,14 @@ public class TestController { |
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private SaasCommon saasCommon; |
|
|
|
private SaasCommon saasCommon; |
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
|
|
private SaasMerRequest saasMerRequest; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private SaasMerService saasMerService; |
|
|
|
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 |
|
|
|
@Resource |
|
|
|
private BsTradeOrderProfitSharingService tradeOrderProfitSharingService; |
|
|
|
private BsTradeOrderProfitSharingService tradeOrderProfitSharingService; |
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private BsMerService merService; |
|
|
|
private BsMerService merService; |
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
|
|
private SaasActivityService saasActivityService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private BsMerPlatformNoService merPlatformNoService; |
|
|
|
private BsMerPlatformNoService merPlatformNoService; |
|
|
|
@Resource |
|
|
|
@Resource |
|
|
@ -109,6 +86,21 @@ public class TestController { |
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private BsStoreService storeService; |
|
|
|
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) |
|
|
|
@RequestMapping(value="/refreshMerStatus",method = RequestMethod.GET) |
|
|
|
@ResponseBody |
|
|
|
@ResponseBody |
|
|
|
@ApiOperation(value = "refreshMerStatus") |
|
|
|
@ApiOperation(value = "refreshMerStatus") |
|
|
|