提交 434815a0 authored 作者: 王鹏飞's avatar 王鹏飞

chore: 新增CUW小程序

上级 f733759e
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
}, },
"plugins": { "plugins": {
"tencentvideo": { "tencentvideo": {
"version": "2.0.5", "version": "2.1.12",
"provider": "wxa75efa648b60994b" "provider": "wxa75efa648b60994b"
} }
}, },
......
...@@ -3,14 +3,14 @@ const env = 'production' ...@@ -3,14 +3,14 @@ const env = 'production'
if (env === 'production') { if (env === 'production') {
module.exports = { module.exports = {
appVersion: 'cu_v3.3.5', appVersion: 'cuw_v3.3.5',
apiBaseURL: 'https://wechat-api.ezijing.com', // 接口请求地址 apiBaseURL: 'https://wechat-api.ezijing.com', // 接口请求地址
tenant: 'campbellsville' tenant: 'cuw'
} }
} else { } else {
module.exports = { module.exports = {
appVersion: 'cu_v3.3.5', appVersion: 'cuw_v3.3.5',
apiBaseURL: 'https://wechat-api2.ezijing.com', // 接口请求地址 apiBaseURL: 'https://wechat-api2.ezijing.com', // 接口请求地址
tenant: 'campbellsville' tenant: 'cuw'
} }
} }
{ {
"name": "learn-weapp", "name": "learn-weapp",
"version": "1.0.0", "version": "1.0.0",
"lockfileVersion": 1, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": {
"": {
"name": "learn-weapp",
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"@vant/weapp": "^1.6.5",
"miniprogram-computed": "^2.2.0"
},
"devDependencies": {}
},
"node_modules/@vant/weapp": {
"version": "1.6.5",
"resolved": "https://registry.npmjs.org/@vant/weapp/-/weapp-1.6.5.tgz",
"integrity": "sha512-7+oNnlLIcHSqcwtzAKSM2LM+feXyfNIEOedHn5yDumPQPyGPDmsY6x5vwZ88i+sZspfj4HmzfeljJQ/rtDT0cg=="
},
"node_modules/fast-deep-equal": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
"integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk="
},
"node_modules/miniprogram-computed": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/miniprogram-computed/-/miniprogram-computed-2.2.0.tgz",
"integrity": "sha512-UlPfPh5cvBnwb2jNXToUMxNkWAmi8a7hAjtJlwdA4XF5EbFI5Q5jI9mn1U8AAxbsUfnSf1Vmsc0LhkxGdKlRkg==",
"dependencies": {
"fast-deep-equal": "^2.0.1",
"rfdc": "^1.1.4"
}
},
"node_modules/rfdc": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.2.0.tgz",
"integrity": "sha512-ijLyszTMmUrXvjSooucVQwimGUk84eRcmCuLV8Xghe3UO85mjUtRAHRyoMM6XtyqbECaXuBWx18La3523sXINA=="
}
},
"dependencies": { "dependencies": {
"@vant/weapp": { "@vant/weapp": {
"version": "1.6.5", "version": "1.6.5",
......
...@@ -69,7 +69,7 @@ Page({ ...@@ -69,7 +69,7 @@ Page({
const p2 = this.getUserInfo() const p2 = this.getUserInfo()
Promise.all([p1, p2]).then(([code, user]) => { Promise.all([p1, p2]).then(([code, user]) => {
const { encryptedData, iv } = user const { encryptedData, iv } = user
api.wechatLogin({ encryptedData, iv, code, identity: 'cu-mini' }).then(response => { api.wechatLogin({ encryptedData, iv, code, identity: 'cuw-mini' }).then(response => {
if (response.code === 0) { if (response.code === 0) {
this.handleSuccess(response.data) this.handleSuccess(response.data)
} else if (response.code === 2) { } else if (response.code === 2) {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"autoAudits": false, "autoAudits": false,
"showShadowRootInWxmlPanel": true, "showShadowRootInWxmlPanel": true,
"scopeDataCheck": false, "scopeDataCheck": false,
"uglifyFileName": false, "uglifyFileName": true,
"checkInvalidKey": true, "checkInvalidKey": true,
"checkSiteMap": true, "checkSiteMap": true,
"uploadWithSourceMap": true, "uploadWithSourceMap": true,
...@@ -31,13 +31,14 @@ ...@@ -31,13 +31,14 @@
"packNpmManually": false, "packNpmManually": false,
"packNpmRelationList": [], "packNpmRelationList": [],
"minifyWXSS": true, "minifyWXSS": true,
"showES6CompileOption": false "showES6CompileOption": false,
"ignoreUploadUnusedFiles": true,
"condition": false
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.21.2", "libVersion": "2.21.2",
"appid": "wx20a4d5c015a6bbb7", "appid": "wxb869e693751f22a3",
"projectname": "learnOnline", "projectname": "learnOnline",
"isGameTourist": false,
"simulatorType": "wechat", "simulatorType": "wechat",
"simulatorPluginLibVersion": {}, "simulatorPluginLibVersion": {},
"condition": { "condition": {
...@@ -96,5 +97,13 @@ ...@@ -96,5 +97,13 @@
} }
] ]
} }
},
"packOptions": {
"ignore": [],
"include": []
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
} }
} }
\ No newline at end of file
{ {
"setting": {}, "setting": {
"condition": { "urlCheck": true
"plugin": {
"list": []
},
"game": {
"list": []
},
"gamePlugin": {
"list": []
}, },
"condition": {
"miniprogram": { "miniprogram": {
"list": [ "list": [
{ {
...@@ -80,5 +73,7 @@ ...@@ -80,5 +73,7 @@
} }
] ]
} }
} },
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"libVersion": "2.30.2"
} }
\ No newline at end of file
...@@ -5,14 +5,14 @@ const url_test = { ...@@ -5,14 +5,14 @@ const url_test = {
URL_PATH1: 'https://wechat-api2.ezijing.com/api/lms', // 正式域名 - 由于项目变动域名 URL_PATH1: 'https://wechat-api2.ezijing.com/api/lms', // 正式域名 - 由于项目变动域名
URL_PATH2: 'https://wechat-api2.ezijing.com/api', // 正式域名 - 由于项目变动域名 URL_PATH2: 'https://wechat-api2.ezijing.com/api', // 正式域名 - 由于项目变动域名
outSiteLink: 'https://e-learning.ezijing.com', // 正式外链 outSiteLink: 'https://e-learning.ezijing.com', // 正式外链
tenant: 'campbellsville', tenant: 'cuw',
version: '3.2.5' version: '3.2.5'
} }
const url_online = { const url_online = {
URL_PATH1: 'https://wechat-api.ezijing.com/api/lms', // 正式域名 - 由于项目变动域名 URL_PATH1: 'https://wechat-api.ezijing.com/api/lms', // 正式域名 - 由于项目变动域名
URL_PATH2: 'https://wechat-api.ezijing.com/api', // 正式域名 - 由于项目变动域名 URL_PATH2: 'https://wechat-api.ezijing.com/api', // 正式域名 - 由于项目变动域名
outSiteLink: 'https://e-learning.ezijing.com', // 正式外链 outSiteLink: 'https://e-learning.ezijing.com', // 正式外链
tenant: 'campbellsville', tenant: 'cuw',
version: '3.2.5' version: '3.2.5'
} }
let config = url_online let config = url_online
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论