|
|
@@ -9,9 +9,11 @@ import com.goafanti.customer.bo.UserReceiveLogListBo;
|
|
|
import com.goafanti.customer.service.UserReceiveLogService;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
|
@RestController
|
|
|
@RequestMapping("/api/admin/userRecevieLog")
|
|
|
@@ -37,4 +39,12 @@ public class UserReceiveLogApiController extends BaseApiController {
|
|
|
res.setData(userReceiveLogService.list(in, pageNo, pageSize));
|
|
|
return res;
|
|
|
}
|
|
|
+
|
|
|
+ /** 上传图片 **/
|
|
|
+ @RequestMapping(value = "/upload", method = RequestMethod.POST)
|
|
|
+ public Result uploadOrderInvoiceFile(HttpServletRequest req){
|
|
|
+ Result res = new Result();
|
|
|
+ res.setData(handleFile(res, "/UserReceiveLog/", false, req, "UserReceiveLog"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
}
|