Commit d04a4ccb by xiangkun.gu

新增暴露订单接口:生成0元支付fmid

parent ae35e3cf
...@@ -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);
}
} }
...@@ -1499,4 +1499,8 @@ public class PayServiceImpl { ...@@ -1499,4 +1499,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