小程序接口地址更新

feat/task1-c-wallet
Devil 2021-07-20 23:44:58 +08:00
parent d74b1ee6fa
commit 698b57fb40
5 changed files with 6 additions and 6 deletions

View File

@ -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" +

View File

@ -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" +

View File

@ -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" +

View File

@ -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" +

View File

@ -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" +