|
|
@@ -15,9 +15,11 @@ import io.swagger.annotations.ApiParam;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
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.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
@@ -65,6 +67,14 @@ public class OrderController extends AbstractController {
|
|
|
return Result.success();
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("添加送达照片")
|
|
|
+ @PostMapping(value = "add-receive-img/{orderId}")
|
|
|
+ public Result addReceiveImg(@PathVariable Long orderId, @RequestParam String img){
|
|
|
+ appOrderService.addReceiveImg(orderId, img);
|
|
|
+
|
|
|
+ return Result.success();
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation("管理订单")
|
|
|
@PostMapping(value = "updateOrder")
|
|
|
public Result updateOrder(@RequestBody TbOrder tborder){
|