package org.sang.controller;

import org.springframework.web.bind.annotation.RestController;

/**
 * Created by sang on 2017/12/29.
 */
@RestController
public class RegLoginController {
//    @RequestMapping("/login_p")
//    public void login(HttpServletResponse resp) throws IOException {
//        resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
//        resp.setContentType("application/json;charset=UTF-8");
//        PrintWriter out = resp.getWriter();
//        out.write("{\"status\":\"error\",\"msg\":\"尚未登录，请登录!\"}");
//        out.flush();
//        out.close();
//        //        return new RespBean("error", "尚未登录，请登录!");
//    }
}
