|
|
@@ -5,15 +5,13 @@ import com.ylx.common.core.domain.R;
|
|
|
import com.ylx.common.enums.BusinessType;
|
|
|
import com.ylx.massage.domain.dto.AfterSaleOrderDTO;
|
|
|
import com.ylx.massage.domain.dto.AfterSaleOrderFeeBatchDTO;
|
|
|
+import com.ylx.massage.domain.dto.AfterSaleOrderUpdateDTO;
|
|
|
import com.ylx.massage.service.IAfterSaleOrderFeeService;
|
|
|
import com.ylx.massage.service.IAfterSaleOrderService;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
@@ -45,4 +43,12 @@ public class AfterSaleOrderController {
|
|
|
return R.ok();
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("售后信息修改物流单号")
|
|
|
+ @Log(title = "售后信息修改物流单号", businessType = BusinessType.UPDATE)
|
|
|
+ @PutMapping
|
|
|
+ public R updateLogisticsNo(@Validated @RequestBody AfterSaleOrderUpdateDTO dto) {
|
|
|
+ this.afterSaleOrderService.edit(dto);
|
|
|
+ return R.ok();
|
|
|
+ }
|
|
|
+
|
|
|
}
|