首页 新闻 会员 周边

访问工程路径问题

0
悬赏园豆:5 [已关闭问题] 关闭于 2017-06-23 09:45

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是项目名

 

1705的主页 1705 | 初学一级 | 园豆:102
提问于:2017-06-21 15:25
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册