feat:app商家同意退款
This commit is contained in:
1 parent
0cc8f62698
commit
305be33583
1 file changed
+8
+8
@@ -13,6 +13,7 @@ import com.bsd.pjcloud.common.security.util.SecurityUtils;
|
||||
import com.bsd.pjcloud.hard.api.dto.order.HardAdminRefundDto;
|
||||
import com.bsd.pjcloud.hard.api.dto.order.HardAfterSaleDto;
|
||||
import com.bsd.pjcloud.hard.api.dto.order.HardDisagreeDto;
|
||||
import com.bsd.pjcloud.hard.api.dto.order.HardOrderDto;
|
||||
import com.bsd.pjcloud.hard.api.entity.order.HardAfterSaleEntity;
|
||||
import com.bsd.pjcloud.hard.api.entity.order.HardAfterSaleLogEntity;
|
||||
import com.bsd.pjcloud.hard.api.vo.order.HardAfterSaleVo;
|
||||
@@ -75,6 +76,13 @@ public class HardAfterSaleController {
|
||||
dto.setOrderId(id);
|
||||
return R.ok(hardAfterSaleService.join(dto));
|
||||
}
|
||||
|
||||
@Operation(summary = "app商户同意退款", description = "app商户同意退款")
|
||||
@PostMapping("/app/mch-agree")
|
||||
public R appMchRefund(@RequestParam Long id) {
|
||||
PjcloudUser user = SecurityUtils.getUser();
|
||||
return R.ok(hardAfterSaleService.agreeAfterSale(user.getId(), id));
|
||||
}
|
||||
/* ************************************* end app end ************************************* */
|
||||
|
||||
@PostMapping(value = "/admin-refund")
|
||||
|
||||
Reference in new issue
Block a user