package com.csyj.web.action;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.sf.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import com.csyj.web.common.MyUtils;
import com.csyj.web.service.AppFixService;
import com.csyj.web.service.WxService;
@Controller
@RequestMapping("/appFix")
@SuppressWarnings("unchecked")
public class AppFixController extends BaseAction {
// 注入service
@Autowired
private AppFixService service;
@Autowired
private WxService wxService;
private static Logger logger = LoggerFactory.getLogger(AppFixController.class);
/**
* 登陆
* 返回用户信息"us_id":用户ID,"user_name":用户名,"real_name":真实姓名,"role":角色id,"st_id"门店id,"br_id"品牌id
* "role"的值"1":"维保客服","2":门店人员,"3":"包工头","4":"维修工人","5":"品牌经理"
* @param username 用户名
* @param pwd 密码
* @param response
*/
@RequestMapping("/login.do")
public void login(@RequestParam(required=true)String username, @RequestParam(required=true)String pwd, HttpServletResponse response){
JSONObject json = new JSONObject();
``````
192.168.3.101:8080/fix_platform/appFix/login.do为什么访问不到此方法???求大神指点,192.168.3.101地址是没有问题的,用其它的方法测试过了,fix_platform是项目名