Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
wechat-common
Commits
94fd686a
Commit
94fd686a
authored
May 31, 2026
by
renmanyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:资源域名更改
parent
1a7acdfe
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
public/h5.html
+3
-3
public/index.html
+1
-1
src/modules/authorize/index.jsx
+2
-2
src/modules/empty-page/EmptyPage.jsx
+1
-1
src/modules/wechat-audit/WechatAuditResult.jsx
+2
-2
src/modules/workWxAuthorize/index.jsx
+4
-4
No files found.
public/h5.html
View file @
94fd686a
...
...
@@ -15,7 +15,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
/>
<meta
name=
"theme-color"
content=
"#000000"
/>
<!-- <link rel="apple-touch-icon" href="../src/common/images/logo.png" /> -->
<link
rel=
"shortcut icon"
href=
"https://
image.xiaomaiketang.com
/xm/KGSYFEpcHT.png"
>
<link
rel=
"shortcut icon"
href=
"https://
assets.xiaomai5.com/res
/xm/KGSYFEpcHT.png"
>
<title>
扫码登陆
</title>
<script
type=
"text/javascript"
charset=
"utf-8"
src=
"./jquery.min.js"
></script>
<script
src=
"./lottie.js"
></script>
...
...
@@ -69,13 +69,13 @@
<body>
<div
class=
"box"
>
<div
id=
'success'
class=
'hide'
>
<img
src=
"https://
image.xiaomaiketang.com
/xm/iRkcMHPHba.png"
style=
'width:60px'
alt=
""
>
<img
src=
"https://
assets.xiaomai5.com/res
/xm/iRkcMHPHba.png"
style=
'width:60px'
alt=
""
>
<p>
扫码成功
</p>
</div>
<div
id=
"error"
class=
'hide'
>
<img
src=
"https://
image.xiaomaiketang.com
/xm/6kSAYFMm2r.png
<img
src=
"https://
assets.xiaomai5.com/res
/xm/6kSAYFMm2r.png
"
style=
'width:60px'
alt=
""
>
<p
id=
'message'
></p>
</div>
...
...
public/index.html
View file @
94fd686a
...
...
@@ -33,7 +33,7 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>
扫码登录
</title>
<script
type=
"text/javascript"
src=
"https://
image.xiaomaiketang.com
/xm/PhotoClip.js"
></script>
<script
type=
"text/javascript"
src=
"https://
assets.xiaomai5.com/res
/xm/PhotoClip.js"
></script>
</head>
<body>
<script>
...
...
src/modules/authorize/index.jsx
View file @
94fd686a
...
...
@@ -62,7 +62,7 @@ class Authorize extends React.Component {
}
Service
.
hades
(
'/anon/hades/bindWeChat'
,
params
).
then
((
res
)
=>
{
if
(
res
.
success
){
localStorage
.
setItem
(
'wechat-common_user_avatar_url'
,
res
.
result
.
headImgUrl
||
'https://
image.xiaomaiketang.com
/xm/HsCjyKTbWw.png'
)
localStorage
.
setItem
(
'wechat-common_user_avatar_url'
,
res
.
result
.
headImgUrl
||
'https://
assets.xiaomai5.com/res
/xm/HsCjyKTbWw.png'
)
localStorage
.
setItem
(
'wechat-common_user_open_id'
,
res
.
result
.
openId
)
localStorage
.
setItem
(
'wechat-common_user_nick_name'
,
res
.
result
.
nickName
)
if
(
!
res
.
result
.
whetherOld
){
...
...
@@ -103,7 +103,7 @@ class Authorize extends React.Component {
{
!
hasBindWechat
&&
<
div
>
<
div
>
<
img
src=
"https://
image.xiaomaiketang.com
/xm/HsCjyKTbWw.png"
className=
"avatar-img"
alt=
''
></
img
>
<
img
src=
"https://
assets.xiaomai5.com/res
/xm/HsCjyKTbWw.png"
className=
"avatar-img"
alt=
''
></
img
>
</
div
>
<
button
className=
"login-btn"
onClick=
{
this
.
wechatAuthorize
}
>
微信登录
</
button
>
</
div
>
...
...
src/modules/empty-page/EmptyPage.jsx
View file @
94fd686a
...
...
@@ -5,7 +5,7 @@ import './EmptyPage.less'
const
EmptyPage
=
function
()
{
useEffect
(()
=>
{
Lottie
.
loadAnimation
({
path
:
'https://
image.xiaomaiketang.com
/xm/AhcJZHdMZf.json'
,
path
:
'https://
assets.xiaomai5.com/res
/xm/AhcJZHdMZf.json'
,
name
:
'test'
,
renderer
:
'svg'
,
loop
:
true
,
...
...
src/modules/wechat-audit/WechatAuditResult.jsx
View file @
94fd686a
...
...
@@ -34,7 +34,7 @@ const WechatAuditResult = function () {
<
div
className=
"box"
>
<
img
className=
"img"
src=
"https://
image.xiaomaiketang.com
/xm/6isseQhcTh.png"
src=
"https://
assets.xiaomai5.com/res
/xm/6isseQhcTh.png"
alt=
""
/>
<
div
className=
"desc"
>
申请审核中
</
div
>
...
...
@@ -60,7 +60,7 @@ const WechatAuditResult = function () {
<
div
className=
"box"
>
<
img
className=
"img"
src=
"https://
image.xiaomaiketang.com
/xm/cQzJDFZDsp.png"
src=
"https://
assets.xiaomai5.com/res
/xm/cQzJDFZDsp.png"
alt=
""
/>
<
div
className=
"desc"
>
审核失败
</
div
>
...
...
src/modules/workWxAuthorize/index.jsx
View file @
94fd686a
...
...
@@ -51,7 +51,7 @@ function WorkWxAuthorize(props){
<
div
className=
"box"
>
{
scanState
===
'success'
&&
<
div
className=
"success"
>
<
img
src=
"https://
image.xiaomaiketang.com
/xm/iRkcMHPHba.png"
alt=
""
/>
<
img
src=
"https://
assets.xiaomai5.com/res
/xm/iRkcMHPHba.png"
alt=
""
/>
<
p
>
扫码成功
</
p
>
...
...
@@ -59,7 +59,7 @@ function WorkWxAuthorize(props){
}
{
scanState
===
'error'
&&
<
div
className=
"error"
>
<
img
src=
"https://
image.xiaomaiketang.com
/xm/6kSAYFMm2r.png
<
img
src=
"https://
assets.xiaomai5.com/res
/xm/6kSAYFMm2r.png
"
alt=
""
/>
<
p
className=
'message'
>
{
messageText
}
...
...
@@ -129,7 +129,7 @@ function WorkWxAuthorize(props){
// <div className="box">
// { scanState === 'success' &&
// <div className="success">
// <img src="https://
image.xiaomaiketang.com
/xm/iRkcMHPHba.png" alt=""/>
// <img src="https://
assets.xiaomai5.com/res
/xm/iRkcMHPHba.png" alt=""/>
// <p>
// 扫码成功
// </p>
...
...
@@ -137,7 +137,7 @@ function WorkWxAuthorize(props){
// }
// { scanState === 'error' &&
// <div className="error">
// <img src="https://
image.xiaomaiketang.com
/xm/6kSAYFMm2r.png
// <img src="https://
assets.xiaomai5.com/res
/xm/6kSAYFMm2r.png
// " alt="" />
// <p className='message'>
// { messageText }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment