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>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!