Affiliate-新增、查询、佣金计算等

This commit is contained in:
2024-12-09 16:53:29 +08:00
parent 1b15aed6a2
commit 47ca7bde41
21 changed files with 561 additions and 57 deletions

View File

@@ -99,4 +99,10 @@ public class StripeController {
return Response.success(stripeService.sendRenewalFailEmail(invoiceId, subscriptionId,orderNo));
}
@ApiOperation("临时 查询指定用户绑定的付款方式")
@GetMapping("/getCustomerPaymentMethod")
public Response<String> getCustomerPaymentMethod(@RequestParam String name, @RequestParam String email) {
return Response.success(stripeService.getCustomerPaymentMethod(name, email));
}
}