|
@@ -34,7 +34,7 @@ import java.util.Map;
|
|
|
import java.util.Objects;
|
|
|
|
|
|
@RestController
|
|
|
-@RequestMapping("weChat")
|
|
|
+@RequestMapping("/weChat")
|
|
|
public class WeChatController {
|
|
|
@Autowired
|
|
|
private WxMpService wxMpService;
|
|
@@ -106,7 +106,7 @@ public class WeChatController {
|
|
|
/**
|
|
|
* 跳转首页权限
|
|
|
*/
|
|
|
- @GetMapping("getPageAuthorization")
|
|
|
+ @GetMapping("/getPageAuthorization")
|
|
|
public void getPageAuthorization(){
|
|
|
String http = "https://";
|
|
|
String code = request.getParameter("code");
|
|
@@ -208,7 +208,7 @@ public class WeChatController {
|
|
|
/**
|
|
|
* 登录并注册
|
|
|
*/
|
|
|
- @PostMapping("signUp")
|
|
|
+ @PostMapping("/signUp")
|
|
|
public Map<String,Object> signUp(@RequestBody SignUpRequestVO requestVO){
|
|
|
String phone = requestVO.getPhone();
|
|
|
String verify = requestVO.getVerify();
|