Commit 9a19939f authored by jinliang's avatar jinliang

fix ali call back page

parent 5ba11be9
...@@ -435,7 +435,7 @@ public class AccountController { ...@@ -435,7 +435,7 @@ public class AccountController {
@RequestMapping(path = "/ali/login", method = RequestMethod.GET) @RequestMapping(path = "/ali/login", method = RequestMethod.GET)
public String save(HttpServletRequest request, HttpServletResponse response) { public String save(HttpServletRequest request, HttpServletResponse response) {
//页面回调地址 必须与应用中的设置一样 //页面回调地址 必须与应用中的设置一样
String return_url = "http://https://www.fangguanlian.cn/ali/withdraw"; String return_url = "http://https://www.wjbrowser.com/ali/withdraw";
//回调地址必须经encode //回调地址必须经encode
return_url = java.net.URLEncoder.encode(return_url); return_url = java.net.URLEncoder.encode(return_url);
//重定向到授权页面 //重定向到授权页面
......
...@@ -14,9 +14,9 @@ public abstract class AlipayConfig { ...@@ -14,9 +14,9 @@ public abstract class AlipayConfig {
public static String RETURN_URL_CVM = "https://www.cloudam.cn/v2/console/cloudhost-buy?alipayreturn="; // 云主机购买 public static String RETURN_URL_CVM = "https://www.cloudam.cn/v2/console/cloudhost-buy?alipayreturn="; // 云主机购买
public static String RETURN_URL_VPS = "https://www.fangguanlian.cn/vpsconsole/vps/cost?alipayreturn="; // vps 费用中心, 账户余额 public static String RETURN_URL_VPS = "https://www.wjbrowser.com/vpsconsole/vps/cost?alipayreturn="; // vps 费用中心, 账户余额
public static String RETURN_URL_VPS_FRONT = "https://www.fangguanlian.cn/home/detail.html?order="; // VPS购买 public static String RETURN_URL_VPS_FRONT = "https://www.wjbrowser.com/home/detail.html?order="; // VPS购买
public static String RETURN_URL_C3IP = "https://www.cloudam.cn/v2/console/ipcloud-buy?alipayreturn="; //c3ip云购买 public static String RETURN_URL_C3IP = "https://www.cloudam.cn/v2/console/ipcloud-buy?alipayreturn="; //c3ip云购买
...@@ -26,7 +26,7 @@ public abstract class AlipayConfig { ...@@ -26,7 +26,7 @@ public abstract class AlipayConfig {
public static String RETURN_URL_ORDER = "https://www.cloudam.cn/v2/console/orderDetail?alipayreturn="; public static String RETURN_URL_ORDER = "https://www.cloudam.cn/v2/console/orderDetail?alipayreturn=";
public static String RETURN_URL_BROWSER = "https://www.fangguanlian.cn/web/paySuccess.html?alipayreturn="; public static String RETURN_URL_BROWSER = "https://www.wjbrowser.com/app/pay-success.html?alipayreturn=";
public static String ALIPAY_AUTH_URL = "https://openauth.alipay.com/oauth2/publicAppAuthorize.htm"; public static String ALIPAY_AUTH_URL = "https://openauth.alipay.com/oauth2/publicAppAuthorize.htm";
......
...@@ -44,9 +44,9 @@ public class CloudamAlipayConfig extends AlipayConfig{ ...@@ -44,9 +44,9 @@ public class CloudamAlipayConfig extends AlipayConfig{
// //
// public static String RETURN_URL_CVM = "https://www.cloudam.cn/v2/console/cloudhost-buy?alipayreturn="; // 云主机购买 // public static String RETURN_URL_CVM = "https://www.cloudam.cn/v2/console/cloudhost-buy?alipayreturn="; // 云主机购买
// //
// public static String RETURN_URL_VPS = "https://www.fangguanlian.cn/vpsconsole/vps/cost?alipayreturn="; // vps 费用中心, 账户余额 // public static String RETURN_URL_VPS = "https://www.wjbrowser.com/vpsconsole/vps/cost?alipayreturn="; // vps 费用中心, 账户余额
// //
// public static String RETURN_URL_VPS_FRONT = "https://www.fangguanlian.cn/home/detail.html?order="; // VPS购买 // public static String RETURN_URL_VPS_FRONT = "https://www.wjbrowser.com/home/detail.html?order="; // VPS购买
@Override @Override
public String getSIGN_TYPE() { public String getSIGN_TYPE() {
......
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