Commit fde233be by zhengxj

finish 新注册技工头像问题 on 20191114 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24824 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 45617342
...@@ -2,6 +2,8 @@ package com.glsx.common.feign.client; ...@@ -2,6 +2,8 @@ package com.glsx.common.feign.client;
import java.util.List; import java.util.List;
import javax.servlet.http.HttpSession;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
...@@ -201,4 +203,21 @@ public interface UserClient { ...@@ -201,4 +203,21 @@ public interface UserClient {
@RequestMapping(method = RequestMethod.POST, value = "/carservice/usercenter/user/saveSysMerchant") @RequestMapping(method = RequestMethod.POST, value = "/carservice/usercenter/user/saveSysMerchant")
JSONObject saveSysMerchant( @RequestBody MerchantReq merchantReq); JSONObject saveSysMerchant( @RequestBody MerchantReq merchantReq);
/**
*
*
* @author Zheng Xiajun
* @Title: saveSysMerchant
* @Description: 技工注册自成功自己动登录
* @param @param
* merchantReq
* @param @return
* 设定文件
* @return JSONObject 返回类型
*
*/
@RequestMapping(method = RequestMethod.GET, value = "/carservice/usercenter/user/login")
JSONObject login(@RequestParam("username") String username, @RequestParam("password") String password,
@RequestParam("terminalType") Integer terminalType);
} }
...@@ -109,7 +109,7 @@ public interface SysUserService { ...@@ -109,7 +109,7 @@ public interface SysUserService {
* @Title: save * @Title: save
* @Description: TODO 保存技工信息 * @Description: TODO 保存技工信息
*/ */
int saveSysMechanic(SysMechanic sysMechanic, Integer serviceId); ResultObject saveSysMechanic(SysMechanic sysMechanic, Integer serviceId);
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!