Commit 6474716a by 前端

Merge branch 'hotfix_4.28.2' into 'master'

上线合并

See merge request !28
2 parents 7cf94dc8 1277432e
...@@ -14,7 +14,7 @@ const target = ["ip", "dev", "uat", "beta", "prod"]; ...@@ -14,7 +14,7 @@ const target = ["ip", "dev", "uat", "beta", "prod"];
3预发布 3预发布
4生产 4生产
*/ */
const index = 4; const index = 2;
const secretKey = { const secretKey = {
ip: {}, ip: {},
dev: { dev: {
......
...@@ -123,8 +123,9 @@ class Request { ...@@ -123,8 +123,9 @@ class Request {
return projectName return projectName
} }
getMock() { getMock() {
let url = 'https://oss-config.dev.glsx.com.cn/mock/6264ff4760f415276f6dfe62/aicard-config' let url = 'https://oss-config.test.glsx.com.cn/mock/6274e3050da5034a58680aa6/aicard-config'
if (index == 4 || index == 3) url = 'https://oss-config.test.glsx.com.cn/mock/6274e3050da5034a58680aa6/aicard-config' // let url = 'https://oss-config.dev.glsx.com.cn/mock/6264ff4760f415276f6dfe62/aicard-config'
// if (index == 4 || index == 3) url = 'https://oss-config.test.glsx.com.cn/mock/6274e3050da5034a58680aa6/aicard-config'
return new Promise((resolve) => { return new Promise((resolve) => {
wx.request({ wx.request({
url, url,
......
...@@ -4,7 +4,8 @@ module.exports = { ...@@ -4,7 +4,8 @@ module.exports = {
/**wx.login登录 */ /**wx.login登录 */
jsCodeLogin(data) { jsCodeLogin(data) {
return api.post({ return api.post({
method: `${path}jscode.getOpenId`, // method: `${path}jscode.getOpenId`,
method: 'scrm.api.sso.weapp.jscode.getOpenIdAndLogin',
...data ...data
}, true) }, true)
}, },
......
/* components/loadding/loadding.wxss */ /* components/loadding/loadding.wxss */
.loadding { .loadding {
height: 100vh; height: 100vh;
font-weight: 500; font-size: 28rpx;
font-size: 48rpx;
color: #2D2D33; color: #2D2D33;
text-align: center; text-align: center;
margin-top: 340rpx; padding-top: 320rpx;
background-color: #fff;
&-img { &-img {
width: 432rpx; width: 300rpx;
height: 300rpx; height: 300rpx;
margin-bottom: 50rpx;
} }
} }
\ No newline at end of file \ No newline at end of file
<!--components/loadding/loadding.wxml--> <!--components/loadding/loadding.wxml-->
<view class="loadding"> <view class="loadding">
<glsx-image custom-class="loadding-img" src="home/loadding.webp" /> <glsx-image custom-class="loadding-img" src="home/loadding.gif" />
<view>努力加载中</view> <view>努力加载中...</view>
</view> </view>
{ {
"description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"packOptions": { "packOptions": {
"ignore": [], "ignore": [],
"include": [] "include": []
}, },
"setting": { "setting": {
"urlCheck": false, "urlCheck": false,
"es6": true, "es6": true,
"enhance": true, "enhance": true,
"postcss": true, "postcss": true,
"preloadBackgroundData": false, "preloadBackgroundData": false,
"minified": true, "minified": true,
"newFeature": false, "newFeature": false,
"coverView": true, "coverView": true,
"nodeModules": false, "nodeModules": false,
"autoAudits": false, "autoAudits": false,
"showShadowRootInWxmlPanel": true, "showShadowRootInWxmlPanel": true,
"scopeDataCheck": false, "scopeDataCheck": false,
"uglifyFileName": false, "uglifyFileName": false,
"checkInvalidKey": true, "checkInvalidKey": true,
"checkSiteMap": true, "checkSiteMap": true,
"uploadWithSourceMap": true, "uploadWithSourceMap": true,
"compileHotReLoad": false, "compileHotReLoad": false,
"lazyloadPlaceholderEnable": false, "lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true, "useMultiFrameRuntime": true,
"useApiHook": true, "useApiHook": true,
"useApiHostProcess": true, "useApiHostProcess": true,
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
}, },
"useIsolateContext": false, "useIsolateContext": false,
"userConfirmedBundleSwitch": false, "userConfirmedBundleSwitch": false,
"packNpmManually": false, "packNpmManually": false,
"packNpmRelationList": [], "packNpmRelationList": [],
"minifyWXSS": true, "minifyWXSS": true,
"disableUseStrict": false, "disableUseStrict": false,
"minifyWXML": true, "minifyWXML": true,
"showES6CompileOption": false, "showES6CompileOption": false,
"ignoreUploadUnusedFiles": true, "ignoreUploadUnusedFiles": true,
"useCompilerPlugins": [ "useCompilerPlugins": [
"sass" "sass"
] ]
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.25.4", "libVersion": "2.25.4",
"appid": "wx1bd947039419e6ce", "appid": "wx1bd947039419e6ce",
"projectname": "%E5%B9%BF%E8%81%94%E5%B0%8F%E7%A8%8B%E5%BA%8F%E6%A8%A1%E7%89%88", "projectname": "%E5%B9%BF%E8%81%94%E5%B0%8F%E7%A8%8B%E5%BA%8F%E6%A8%A1%E7%89%88",
"simulatorType": "wechat", "simulatorType": "wechat",
"simulatorPluginLibVersion": {}, "simulatorPluginLibVersion": {},
"editorSetting": { "editorSetting": {
"tabIndent": "insertSpaces", "tabIndent": "insertSpaces",
"tabSize": 2 "tabSize": 2
}, },
"condition": { "condition": {
"miniprogram": { "miniprogram": {
"list": [ "list": [
{ {
"name": "分享组件", "name": "分享组件",
"pathName": "tabComponents/pages/share/share", "pathName": "tabComponents/pages/share/share",
"query": "", "query": "",
"scene": null "scene": null
}, },
{ {
"name": "授权组件", "name": "授权组件",
"pathName": "tabComponents/pages/authorize/authorize", "pathName": "tabComponents/pages/authorize/authorize",
"query": "", "query": "",
"scene": null "scene": null
}, },
{ {
"name": "时间范围选择器", "name": "时间范围选择器",
"pathName": "tabComponents/pages/time-horizon/time-horizon", "pathName": "tabComponents/pages/time-horizon/time-horizon",
"query": "", "query": "",
"scene": null "scene": null
}, },
{ {
"name": "cell", "name": "cell",
"pathName": "tabComponents/pages/gl-cell/gl-cell", "pathName": "tabComponents/pages/gl-cell/gl-cell",
"query": "", "query": "",
"scene": null "scene": null
}, },
{ {
"name": "日历", "name": "日历",
"pathName": "tabComponents/pages/calendar/calendar", "pathName": "tabComponents/pages/calendar/calendar",
"query": "", "query": "",
"scene": null "scene": null
} }
] ]
} }
} }
} }
\ No newline at end of file \ No newline at end of file
{ {
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"condition": { "condition": {
"miniprogram": { "miniprogram": {
"list": [ "list": [
{ {
"name": "分享组件", "name": "分享组件",
"pathName": "tabComponents/pages/share/share", "pathName": "tabComponents/pages/share/share",
"query": "", "query": "",
"scene": null "scene": null
}, },
{ {
"name": "授权组件", "name": "授权组件",
"pathName": "tabComponents/pages/authorize/authorize", "pathName": "tabComponents/pages/authorize/authorize",
"query": "", "query": "",
"scene": null "scene": null
}, },
{ {
"name": "时间范围选择器", "name": "时间范围选择器",
"pathName": "tabComponents/pages/time-horizon/time-horizon", "pathName": "tabComponents/pages/time-horizon/time-horizon",
"query": "", "query": "",
"scene": null "scene": null
}, },
{ {
"name": "cell", "name": "cell",
"pathName": "tabComponents/pages/gl-cell/gl-cell", "pathName": "tabComponents/pages/gl-cell/gl-cell",
"query": "", "query": "",
"scene": null "scene": null
}, },
{ {
"name": "日历", "name": "日历",
"pathName": "tabComponents/pages/calendar/calendar", "pathName": "tabComponents/pages/calendar/calendar",
"query": "", "query": "",
"scene": null "scene": null
}, },
{ {
"name": "测试", "name": "测试",
"pathName": "pages/tab/index/index", "pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D3275", "query": "scene=sceneId%3D3275",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
}, },
{ {
"name": "活动详情", "name": "活动详情",
"pathName": "packagesList/pages/activityDetail/activityDetail", "pathName": "packagesList/pages/activityDetail/activityDetail",
"query": "", "query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
}, },
{ {
"name": "访问记录", "name": "访问记录",
"pathName": "packagesList/pages/accessRecord/accessRecord", "pathName": "packagesList/pages/accessRecord/accessRecord",
"query": "", "query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
}, },
{ {
"name": "", "name": "",
"pathName": "packagesList/pages/productDetail/productDetail", "pathName": "packagesList/pages/productDetail/productDetail",
"query": "", "query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
}, },
{ {
"name": "", "name": "",
"pathName": "pages/tab/index/index", "pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D3856", "query": "scene=sceneId%3D3856",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
}, },
{ {
"name": "", "name": "",
"pathName": "pages/productDetail/changingFilm/changingFilm", "pathName": "pages/productDetail/changingFilm/changingFilm",
"query": "cardId=38&merchant=44210895", "query": "cardId=38&merchant=44210895",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
}, },
{ {
"name": "预发布", "name": "预发布",
"pathName": "pages/tab/index/index", "pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D408", "query": "scene=sceneId%3D408",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
}, },
{ {
"name": "生产", "name": "生产",
"pathName": "pages/tab/index/index", "pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D5116", "query": "scene=sceneId%3D5116",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
} }
] ]
} }
}, },
"setting": { "setting": {
"urlCheck": true, "urlCheck": true,
"compileHotReLoad": false, "compileHotReLoad": false,
"autoAudits": true "autoAudits": true
}, },
"libVersion": "3.2.5", "libVersion": "3.2.5",
"projectname": "ai-card" "projectname": "ai-card"
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!