forked from myvin/juejin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
32 lines (32 loc) · 1.39 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
App({
onLaunch () {
let that = this
wx.getSystemInfo({
success: function (res) {
that.globalData.systeminfo = res
},
})
},
globalData: {
systeminfo: {},
config: {
loginRequestUrl: 'https://juejin.im/auth/type/phoneNumber',
notifyRequestUrl: 'https://ufp-api-ms.juejin.im/v1',
bannerRequestUrl: 'https://banner-storage-ms.juejin.im/v1',
timelineRequestUrl: 'https://timeline-merger-ms.juejin.im/v1',
xiaoceRequestUrl: 'https://xiaoce-timeline-api-ms.juejin.im/v1',
xiaoceCacheApiMs: 'https://xiaoce-cache-api-ms.juejin.im/v1',
postStorageApiMsRequestUrl: 'https://post-storage-api-ms.juejin.im/v1',
userLikeWrapperMsRequestUrl: 'https://user-like-wrapper-ms.juejin.im/v1',
// searchMergerMsRequestUrl: 'https://search-merger-ms.juejin.im/v1',
collectionSetMsRequestUrl: 'https://collection-set-ms.juejin.im/v1',
shortMsgMsRequestUrl: 'https://short-msg-ms.juejin.im/v1',
ufpApiMsRequestUrl: 'https://ufp-api-ms.juejin.im/v1',
lccroApiMsRequestUrl: 'https://lccro-api-ms.juejin.im/v1',
entryViewStorageApiMsRequestUrl: 'https://entry-view-storage-api-ms.juejin.im/v1',
goldTagMsRequestUrl: 'https://gold-tag-ms.juejin.im/v1',
userNotificationApiMsRequestUrl: 'https://user-notification-api-ms.juejin.im/v1',
apiRequestUrl: 'https://user-storage-api-ms.juejin.im/v1'
}
},
})