|
@@ -220,7 +220,7 @@
|
|
|
//使用code请求服务器接口,换取用户用户openID
|
|
|
|
|
|
uni.request({
|
|
|
- url: 'http://wx.ewoogi.com:8081/USKYOF/USKYOF.php/Home/Com/getPageAuthorization', //仅为示例,并非真实接口地址。
|
|
|
+ url: 'https://wx.ewoogi.com:8081/USKYOF/USKYOF.php/Home/Com/getPageAuthorization', //仅为示例,并非真实接口地址。
|
|
|
// data: {
|
|
|
// text: 'uni.request'
|
|
|
// },
|
|
@@ -232,7 +232,7 @@
|
|
|
// alert(res.data.flag)
|
|
|
if (res.data.flag == 3000) {
|
|
|
// alert("3000授权失败,请重新登录");
|
|
|
- window.location.href = 'http://wx.ewoogi.com:8081/index.html#/';
|
|
|
+ window.location.href = 'https://wx.ewoogi.com:8081/index.html#/';
|
|
|
}
|
|
|
|
|
|
if (res.data.flag == 3003) {
|
|
@@ -355,7 +355,7 @@
|
|
|
if (res.data.flag == 3000) {
|
|
|
|
|
|
// alert("3000授权失败,");
|
|
|
- window.location.href = 'http://wx.ewoogi.com:8081/index.html#/';
|
|
|
+ window.location.href = 'https://wx.ewoogi.com:8081/index.html#/';
|
|
|
}
|
|
|
|
|
|
if (res.data.flag == 3003) {
|