Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6474716a
authored
Aug 13, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'hotfix_4.28.2' into 'master'
上线合并 See merge request
!28
2 parents
7cf94dc8
1277432e
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
11 deletions
api/environment.js
api/request.js
api/ssoApi.js
components/loadding/loadding.scss
components/loadding/loadding.wxml
project.config.json
project.private.config.json
api/environment.js
View file @
6474716
...
@@ -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
:
{
...
...
api/request.js
View file @
6474716
...
@@ -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
,
...
...
api/ssoApi.js
View file @
6474716
...
@@ -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.scss
View file @
6474716
/* 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
:
432
rpx
;
width
:
300
rpx
;
height
:
300rpx
;
height
:
300rpx
;
margin-bottom
:
50rpx
;
}
}
}
}
\ No newline at end of file
\ No newline at end of file
components/loadding/loadding.wxml
View file @
6474716
<!--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>
project.config.json
View file @
6474716
project.private.config.json
View file @
6474716
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment