新增:选择支付方式接口
This commit is contained in:
@@ -36,6 +36,20 @@ public class PaymentController extends BaseController {
|
||||
@Resource
|
||||
private RedisUtil redisUtil;
|
||||
|
||||
@ApiOperation("选择支付方式")
|
||||
@GetMapping("/select")
|
||||
public ApiResult<PageResult<Payment>> select(PaymentParam param) {
|
||||
// 使用关联查询
|
||||
final PageResult<Payment> result = paymentService.pageRel(param);
|
||||
result.getList().forEach(d -> {
|
||||
d.setApiKey(null);
|
||||
d.setApiclientCert(null);
|
||||
d.setApiclientKey(null);
|
||||
d.setMerchantSerialNumber(null);
|
||||
});
|
||||
return success(result);
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('sys:payment:list')")
|
||||
@OperationLog
|
||||
@ApiOperation("分页查询支付方式")
|
||||
|
||||
Reference in New Issue
Block a user