|
@@ -4,6 +4,7 @@ import com.caimei365.user.model.JsonModel;
|
|
import com.caimei365.user.service.UserService;
|
|
import com.caimei365.user.service.UserService;
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@@ -47,5 +48,25 @@ public class UserApi {
|
|
return null;//loginService.activateCodeByReg(mobile, activateCodeType, imgCode, token, platformType);
|
|
return null;//loginService.activateCodeByReg(mobile, activateCodeType, imgCode, token, platformType);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ //club
|
|
|
|
+ /**
|
|
|
|
+ * 微信授权登录
|
|
|
|
+ *
|
|
|
|
+ * @param code 微信授权code
|
|
|
|
+ * @param encryptedData 微信加密数据
|
|
|
|
+ * @param iv 加密算法的初始向量
|
|
|
|
+ */
|
|
|
|
+ @PostMapping("/authorization")
|
|
|
|
+ public JsonModel authorizationLogin(String code, String encryptedData, String iv, HttpServletRequest request) {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 邀请码授权登录
|
|
|
|
+ */
|
|
|
|
+ @PostMapping("/invitationCode")
|
|
|
|
+ public JsonModel invitationCode(OperationVo operation, HttpServletRequest request) {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|