Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
uniapp_vedio
Commits
3d7977a7
Commit
3d7977a7
authored
Dec 08, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加抖音appid
parent
07f3149e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
launch.json
vedio/.hbuilderx/launch.json
+4
-0
manifest.json
vedio/manifest.json
+2
-1
common.js
vedio/mixins/common.js
+12
-2
No files found.
vedio/.hbuilderx/launch.json
View file @
3d7977a7
...
...
@@ -10,6 +10,10 @@
{
"launchtype"
:
"local"
},
"mp-toutiao"
:
{
"launchtype"
:
"local"
},
"mp-weixin"
:
{
"launchtype"
:
"local"
...
...
vedio/manifest.json
View file @
3d7977a7
...
...
@@ -163,7 +163,8 @@
"usingComponents"
:
true
,
"uniStatistics"
:
{
"enable"
:
false
}
},
"appid"
:
"ttde5ea8e3416e330801"
},
"uniStatistics"
:
{
"enable"
:
false
,
...
...
vedio/mixins/common.js
View file @
3d7977a7
...
...
@@ -130,11 +130,21 @@ export default {
showLoading
&&
loading
.
show
();
let
requestTask
;
let
uniChannel
=
'wechat'
;
// #ifdef MP-KUAISHOU
uniChannel
=
'kuaishou'
;
// #endif
// #ifdef MP-TOUTIAO
uniChannel
=
'douyin'
;
// #endif
Object
.
assign
(
header
,
{
token
:
uni
.
getStorageSync
(
'token'
),
// token: 'AC8FA7EB65C3074472378362124462E70E762CAB0EAD1C6EABB742EB893A61C05F433703067DF5142735505C42F58997'
,
pkgName
:
app
.
globalData
.
pkgName
pkgName
:
app
.
globalData
.
pkgName
,
proChannel
:
uniChannel
})
options
=
Object
.
assign
(
options
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment