Commit 81a73bc2 by xiangkun.gu

Merge remote-tracking branch 'origin/applet/2022-02-11-暴露创建订单业务相关接口' into develop

parents 18c6d58e d04a4ccb
...@@ -110,4 +110,14 @@ public class ExposureOrderController { ...@@ -110,4 +110,14 @@ public class ExposureOrderController {
return ResponseUtil.success(); return ResponseUtil.success();
} }
/**
* 生成0元支付fmId
*/
@ApiAnnotation(logMessage = "生成0元支付fmId")
@GetMapping("/generateZeroPayFmId")
public BaseResponse generateZeroPayFmId() {
String fmId = payService.generateZeroPayFmId();
return ResponseUtil.success(fmId);
}
} }
...@@ -1504,4 +1504,8 @@ public class PayServiceImpl { ...@@ -1504,4 +1504,8 @@ public class PayServiceImpl {
return checkSvcAmountResponse; return checkSvcAmountResponse;
} }
public String generateZeroPayFmId() {
String fmId = "SPAY" + ValidationCode.getRandomUuid();
return fmId;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment