默认提交
Showing
5 changed files
with
6 additions
and
5 deletions
1 | //app.js | 1 | //app.js |
2 | const ald = require('./utils/ald-stat.js') | ||
2 | let fetchApi = require('./http/fetch-api.js'); | 3 | let fetchApi = require('./http/fetch-api.js'); |
3 | let api = require('./http/api'); | 4 | let api = require('./http/api'); |
4 | let config = require('./config'); | 5 | let config = require('./config'); | ... | ... |
... | @@ -2,7 +2,7 @@ let ENV_CONFIG = require('./env/index'); | ... | @@ -2,7 +2,7 @@ let ENV_CONFIG = require('./env/index'); |
2 | 2 | ||
3 | const APPID = '' | 3 | const APPID = '' |
4 | /** ====每次发布版本记得修改此环境配置==== */ | 4 | /** ====每次发布版本记得修改此环境配置==== */ |
5 | const ENV = 'Dev'; // Dev Prod | 5 | const ENV = 'Prod'; // Dev Prod |
6 | const NET_CONFIG = ENV_CONFIG[ENV]; | 6 | const NET_CONFIG = ENV_CONFIG[ENV]; |
7 | const MOCKAPI = ENV_CONFIG.mockApi; | 7 | const MOCKAPI = ENV_CONFIG.mockApi; |
8 | 8 | ... | ... |
... | @@ -56,9 +56,6 @@ Page({ | ... | @@ -56,9 +56,6 @@ Page({ |
56 | }); | 56 | }); |
57 | this.queryVideoDetail(); | 57 | this.queryVideoDetail(); |
58 | this.initData(); | 58 | this.initData(); |
59 | |||
60 | |||
61 | |||
62 | }, | 59 | }, |
63 | 60 | ||
64 | /** | 61 | /** |
... | @@ -218,7 +215,6 @@ Page({ | ... | @@ -218,7 +215,6 @@ Page({ |
218 | * 视频详情 | 215 | * 视频详情 |
219 | */ | 216 | */ |
220 | queryVideoDetail() { | 217 | queryVideoDetail() { |
221 | |||
222 | return new Promise((resolve, reject) => { | 218 | return new Promise((resolve, reject) => { |
223 | app.post({ | 219 | app.post({ |
224 | url: app.api.videoDetail, | 220 | url: app.api.videoDetail, | ... | ... |
src/utils/ald-stat-conf.js
0 → 100644
src/utils/ald-stat.js
0 → 100644
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment