|
@@ -6,6 +6,8 @@ import com.github.microservice.auth.client.content.ResultContent;
|
|
|
import com.github.microservice.auth.client.content.ResultState;
|
|
|
import com.github.microservice.auth.security.annotations.ResourceAuth;
|
|
|
import com.github.microservice.auth.security.type.AuthType;
|
|
|
+import com.zhongshu.payment.client.model.AccountCountRequestModel;
|
|
|
+import com.zhongshu.payment.client.model.TransferDetailRequestModel;
|
|
|
import com.zhongshu.payment.client.model.WithdrawListModel;
|
|
|
import com.zhongshu.payment.client.model.order.AdminSeachOrderModel;
|
|
|
import com.zhongshu.payment.client.model.order.ApplicantRefundParamModel;
|
|
@@ -201,7 +203,7 @@ public class PaymentController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @ApiOperation("店铺_分账明细列表")
|
|
|
+ @ApiOperation("店铺-时间段-分账明细-求和")
|
|
|
@ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform)
|
|
|
@ResourceAuth(value = "admin", type = AuthType.Enterprise)
|
|
|
@ResourceAuth(value = "admin", type = AuthType.Project)
|
|
@@ -210,6 +212,22 @@ public class PaymentController {
|
|
|
return paymentServer.withdrawalsDetailList(withdrawRequestModel);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("店铺-时间段-收入统计")
|
|
|
+ @ResourceAuth(value = "admin", type = AuthType.Enterprise)
|
|
|
+ @ResourceAuth(value = "admin", type = AuthType.Project)
|
|
|
+ @RequestMapping(value = "account/shop/count", method = RequestMethod.POST)
|
|
|
+ public ResultContent withdrawalsDetailList(@RequestBody AccountCountRequestModel accountCountRequestModel) {
|
|
|
+ return paymentServer.accountCount(accountCountRequestModel);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("店铺-时间段-分账明细列表-不求和")
|
|
|
+ @ResourceAuth(value = "admin", type = AuthType.Enterprise)
|
|
|
+ @ResourceAuth(value = "admin", type = AuthType.Project)
|
|
|
+ @RequestMapping(value = "account/shop/transferDetail", method = RequestMethod.POST)
|
|
|
+ public ResultContent withdrawalsDetailList(@RequestBody TransferDetailRequestModel transferDetailRequestModel) {
|
|
|
+ return paymentServer.transferDetail(transferDetailRequestModel);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation("后台_确认分账")
|
|
|
@ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform)
|
|
|
@RequestMapping(value = "subOrdersConfirm", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
|