mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
小程序接口地址更新
This commit is contained in:
@ -177,7 +177,7 @@ App({
|
||||
var token = (user == false) ? '' : user.token || '';
|
||||
var uuid = this.request_uuid();
|
||||
return this.data.request_url +
|
||||
"index.php?s=/api/" + c + "/" + a + plugins_params+
|
||||
"api.php?s=" + c + "/" + a + plugins_params+
|
||||
"&application=app&application_client_type=alipay" +
|
||||
"&token=" + token +
|
||||
"&ajax=ajax" +
|
||||
|
||||
@ -175,7 +175,7 @@ App({
|
||||
var token = (user == false) ? '' : user.token || '';
|
||||
var uuid = this.request_uuid();
|
||||
return this.data.request_url +
|
||||
"index.php?s=/api/" + c + "/" + a + plugins_params+
|
||||
"api.php?s=" + c + "/" + a + plugins_params+
|
||||
"&application=app&application_client_type=baidu" +
|
||||
"&token=" + token +
|
||||
"&ajax=ajax" +
|
||||
|
||||
@ -174,7 +174,7 @@ App({
|
||||
var token = (user == false) ? '' : user.token || '';
|
||||
var uuid = this.request_uuid();
|
||||
return this.data.request_url +
|
||||
"index.php?s=/api/" + c + "/" + a + plugins_params+
|
||||
"api.php?s=" + c + "/" + a + plugins_params+
|
||||
"&application=app&application_client_type=qq" +
|
||||
"&token=" + token +
|
||||
"&ajax=ajax" +
|
||||
|
||||
@ -175,7 +175,7 @@ App({
|
||||
var token = (user == false) ? '' : user.token || '';
|
||||
var uuid = this.request_uuid();
|
||||
return this.data.request_url +
|
||||
"index.php?s=/api/" + c + "/" + a + plugins_params+
|
||||
"api.php?s=" + c + "/" + a + plugins_params+
|
||||
"&application=app&application_client_type=toutiao" +
|
||||
"&token=" + token +
|
||||
"&ajax=ajax" +
|
||||
|
||||
@ -73,7 +73,7 @@ App({
|
||||
|
||||
// 请求地址
|
||||
request_url: "{{request_url}}",
|
||||
// request_url: 'http://shopxo.com/',
|
||||
request_url: 'http://shopxo.com/',
|
||||
// request_url: 'https://dev.shopxo.net/',
|
||||
|
||||
// 基础信息
|
||||
@ -175,7 +175,7 @@ App({
|
||||
var token = (user == false) ? '' : user.token || '';
|
||||
var uuid = this.request_uuid();
|
||||
return this.data.request_url +
|
||||
"index.php?s=/api/" + c + "/" + a + plugins_params+
|
||||
"api.php?s=" + c + "/" + a + plugins_params+
|
||||
"&application=app&application_client_type=weixin" +
|
||||
"&token=" + token +
|
||||
"&ajax=ajax" +
|
||||
|
||||
Reference in New Issue
Block a user