Commit 3d7977a7 authored by mengcuiguang's avatar mengcuiguang

添加抖音appid

parent 07f3149e
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
{ {
"launchtype" : "local" "launchtype" : "local"
}, },
"mp-toutiao" :
{
"launchtype" : "local"
},
"mp-weixin" : "mp-weixin" :
{ {
"launchtype" : "local" "launchtype" : "local"
......
...@@ -163,7 +163,8 @@ ...@@ -163,7 +163,8 @@
"usingComponents" : true, "usingComponents" : true,
"uniStatistics" : { "uniStatistics" : {
"enable" : false "enable" : false
} },
"appid" : "ttde5ea8e3416e330801"
}, },
"uniStatistics" : { "uniStatistics" : {
"enable" : false, "enable" : false,
......
...@@ -130,11 +130,21 @@ export default { ...@@ -130,11 +130,21 @@ export default {
showLoading && loading.show(); showLoading && loading.show();
let requestTask; let requestTask;
let uniChannel='wechat';
// #ifdef MP-KUAISHOU
uniChannel='kuaishou';
// #endif
// #ifdef MP-TOUTIAO
uniChannel='douyin';
// #endif
Object.assign(header, { Object.assign(header, {
token: uni.getStorageSync('token'), token: uni.getStorageSync('token'),
// token: 'AC8FA7EB65C3074472378362124462E70E762CAB0EAD1C6EABB742EB893A61C05F433703067DF5142735505C42F58997', pkgName: app.globalData.pkgName,
pkgName: app.globalData.pkgName proChannel:uniChannel
}) })
options = Object.assign(options, { options = Object.assign(options, {
......
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