|
@@ -107,7 +107,7 @@ public class LoginController extends BaseController {
|
|
*/
|
|
*/
|
|
@PostMapping("/register")
|
|
@PostMapping("/register")
|
|
public Result register(@RequestBody RegisterParam param) throws Exception {
|
|
public Result register(@RequestBody RegisterParam param) throws Exception {
|
|
- if(param.getMsgAuthCode().equals(registerValidCode)){
|
|
|
|
|
|
+ if(registerValidCode.equals(param.getMsgAuthCode())){
|
|
param.setClear("YES");
|
|
param.setClear("YES");
|
|
}
|
|
}
|
|
param.setAgentKey(getAgentKey());
|
|
param.setAgentKey(getAgentKey());
|