Commit 82918d52 authored by 周健威's avatar 周健威

添加数据中心验证代码

parent 7d80d85f
......@@ -70,7 +70,7 @@ public class AuthController {
@RequestMapping(value = "maxkeyLogin", method = RequestMethod.GET)
public ObjectRestResponse<String> maxkeyLogin(String callback, String apiKey, String apiSecret) throws Exception {
callback= StrUtil.isBlank(callback) ? "1024011282958778368" : callback;
callback= StrUtil.isBlank(callback) ? "https://gdxm.upyuns.com/#/oauth20callback" : callback;
apiKey= StrUtil.isBlank(apiKey) ? "1024011282958778368" : apiKey;
apiSecret= StrUtil.isBlank(apiSecret) ? "JF17MjIwODIwMjQxNDU2MjA2OTkOJS" : apiSecret;
OAuthService service = new ServiceBuilder()
......@@ -86,7 +86,7 @@ public class AuthController {
@RequestMapping(value = "maxkeyLoginMgmt", method = RequestMethod.GET)
public ObjectRestResponse<String> maxkeyLoginMgmt() throws Exception {
String callback="https://gdxm.upyuns.com/mgmt/oauth20callback";
String callback="https://gdxm.upyuns.com/mgmt/#/oauth20callback";
OAuthService service = new ServiceBuilder()
.provider(MaxkeyApi20.class)
.apiKey("1024312362988994560")
......
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