Commit 7d6eb26a authored by liqin's avatar liqin 💬

bug fixed

parent 97ae8a64
...@@ -2,6 +2,7 @@ package cn.wisenergy.service.app.impl; ...@@ -2,6 +2,7 @@ package cn.wisenergy.service.app.impl;
import cn.wisenergy.common.utils.R; import cn.wisenergy.common.utils.R;
import cn.wisenergy.common.utils.RedisKeyUtils; import cn.wisenergy.common.utils.RedisKeyUtils;
import cn.wisenergy.common.utils.RedisUtils;
import cn.wisenergy.common.utils.ShareCodeUtil; import cn.wisenergy.common.utils.ShareCodeUtil;
import cn.wisenergy.mapper.RecommendUserMapper; import cn.wisenergy.mapper.RecommendUserMapper;
import cn.wisenergy.mapper.TeamUserInfoMapper; import cn.wisenergy.mapper.TeamUserInfoMapper;
......
...@@ -20,10 +20,7 @@ import org.springframework.http.HttpHeaders; ...@@ -20,10 +20,7 @@ import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import javax.imageio.ImageIO; import javax.imageio.ImageIO;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
...@@ -133,7 +130,7 @@ public class LoginController { ...@@ -133,7 +130,7 @@ public class LoginController {
@ApiOperation(value = "二维码邀请注册", notes = "二维码邀请注册", httpMethod = "GET") @ApiOperation(value = "二维码邀请注册", notes = "二维码邀请注册", httpMethod = "GET")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(name = "userId", value = "用户手机号", required = true, dataType = "String") @ApiImplicitParam(name = "userId", value = "用户主键ID", required = true, dataType = "String")
}) })
@GetMapping(value = "/registerByQrCode") @GetMapping(value = "/registerByQrCode")
public ResponseEntity<byte[]> registerByQrCode(@RequestParam("user_id") Long userId, HttpServletRequest request) throws IOException { public ResponseEntity<byte[]> registerByQrCode(@RequestParam("user_id") Long userId, HttpServletRequest request) throws IOException {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment