添加会员支付
This commit is contained in:
@@ -50,6 +50,28 @@ public class PayController {
|
||||
return Result.fail("支付失败");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 储值卡支付
|
||||
* @param token
|
||||
* @param loginName
|
||||
* @param clientType
|
||||
* @param orderId
|
||||
* @param memberId
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("accountPay")
|
||||
public Result accountPay(@RequestHeader("token") String token,
|
||||
@RequestHeader("loginName") String loginName,
|
||||
@RequestHeader("clientType") String clientType,
|
||||
@RequestParam("orderId") String orderId,
|
||||
@RequestParam("memberId") String memberId
|
||||
){
|
||||
return payService.accountPay(orderId,memberId,token);
|
||||
}
|
||||
|
||||
@RequestMapping("groupOrderPay")
|
||||
public Result groupOrderPay(HttpServletRequest request, @RequestHeader String environment,@RequestHeader String token, @RequestBody Map<String, String> map) {
|
||||
if (ObjectUtil.isEmpty(map) || map.size() <= 0 || !map.containsKey("orderId") || ObjectUtil.isEmpty(map.get("orderId"))) {
|
||||
|
||||
Reference in New Issue
Block a user