|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.cweb.controller; |
|
|
|
package com.cweb.controller; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.github.pagehelper.PageHelper; |
|
|
|
import com.github.pagehelper.PageHelper; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import com.hfkj.common.exception.ErrorCode; |
|
|
|
import com.hfkj.common.exception.ErrorCode; |
|
|
@ -51,6 +52,7 @@ public class BsMerLedgerController { |
|
|
|
@ApiOperation(value = "商户分账功能申请") |
|
|
|
@ApiOperation(value = "商户分账功能申请") |
|
|
|
public ResponseData merLedgerApply(@RequestBody BsMerLedger body) { |
|
|
|
public ResponseData merLedgerApply(@RequestBody BsMerLedger body) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
|
|
|
|
System.out.println("请求参数:" + JSONObject.toJSONString(body)); |
|
|
|
if (body.getMerId() == null || body.getPlatformType() == null) { |
|
|
|
if (body.getMerId() == null || body.getPlatformType() == null) { |
|
|
|
log.error("BsDeviceOrderPayController -> payOrder error!","参数校验失败"); |
|
|
|
log.error("BsDeviceOrderPayController -> payOrder error!","参数校验失败"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); |
|
|
|