| | |
| | | import cn.hutool.crypto.asymmetric.SignAlgorithm; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.xcong.excoin.common.LoginUserUtils; |
| | | import com.xcong.excoin.common.annotations.SubmitRepeat; |
| | | import com.xcong.excoin.common.contants.AppContants; |
| | | import com.xcong.excoin.common.response.Result; |
| | | import com.xcong.excoin.common.system.bean.LoginUserBean; |
| | |
| | | return rsa.encryptBase64(token + "_" + System.currentTimeMillis(), KeyType.PublicKey); |
| | | } |
| | | |
| | | //@SubmitRepeat |
| | | @ApiOperation(value = "app注册接口", notes = "app注册接口,验证码必须输入可默认为123456") |
| | | @PostMapping(value = "/register") |
| | | public Result register(@RequestBody @Validated RegisterDto registerDto) { |