|
@@ -44,7 +44,7 @@ public class MealApplicationsController {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private MealApplicationsService mealApplicationsService;
|
|
private MealApplicationsService mealApplicationsService;
|
|
|
@RequestMapping("/apply")
|
|
@RequestMapping("/apply")
|
|
|
- public HttpRespMsg apply(HttpServletRequest request,String mealType, String factory){
|
|
|
|
|
|
|
+ public HttpRespMsg apply(HttpServletRequest request,Integer mealType, String factory){
|
|
|
HttpRespMsg msg = new HttpRespMsg();
|
|
HttpRespMsg msg = new HttpRespMsg();
|
|
|
String userId= request.getHeader("token");
|
|
String userId= request.getHeader("token");
|
|
|
if(userId==null){
|
|
if(userId==null){
|