pull/1121/head
parent
6b443fb998
commit
e51f3ae588
|
|
@ -224,10 +224,8 @@ public class StoreOrderController extends XktBaseController {
|
|||
@ApiOperation("确认收货")
|
||||
@PostMapping("receipt")
|
||||
public R receipt(@Valid @RequestBody StoreOrderReceiptReqVO vo) {
|
||||
if (!SecurityUtils.isAdmin()) {
|
||||
//仅档口可操作
|
||||
storeOrderService.checkOrderStore(vo.getStoreOrderId(), SecurityUtils.getStoreId());
|
||||
}
|
||||
//仅本人可操作
|
||||
storeOrderService.checkOrderUser(vo.getStoreOrderId(), SecurityUtils.getUserId());
|
||||
storeOrderService.receiptOrder(vo.getStoreOrderId(), SecurityUtils.getUserId());
|
||||
return success();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,6 +22,6 @@ public class StoreRechargeReqVO {
|
|||
@ApiModelProperty(value = "支付渠道[1:支付宝]", required = true)
|
||||
private Integer payChannel;
|
||||
@NotNull(message = "支付来源不能为空")
|
||||
@ApiModelProperty(value = "支付来源[1:电脑网站 2:手机网站]", required = true)
|
||||
@ApiModelProperty(value = "支付来源[1:电脑网站 2:手机网站 3:APP]", required = true)
|
||||
private Integer payPage;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue