Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
2f8335a5
Commit
2f8335a5
authored
Apr 10, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix/2023-04-10' into 'master'
把qrcode中http替换为https See merge request
!1112
parents
38fd9473
7c36bdf1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
WxStaffController.java
...m/gic/haoban/manage/web/controller/WxStaffController.java
+8
-1
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxStaffController.java
View file @
2f8335a5
...
@@ -2,6 +2,7 @@ package com.gic.haoban.manage.web.controller;
...
@@ -2,6 +2,7 @@ package com.gic.haoban.manage.web.controller;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.convert.Convert
;
import
cn.hutool.core.convert.Convert
;
import
cn.hutool.core.util.StrUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.Page
;
...
@@ -1747,7 +1748,13 @@ public class WxStaffController extends WebBaseController {
...
@@ -1747,7 +1748,13 @@ public class WxStaffController extends WebBaseController {
@RequestMapping
(
"update-qr-code"
)
@RequestMapping
(
"update-qr-code"
)
public
RestResponse
<
Object
>
updateQrCode
(
String
staffId
,
String
qrCode
){
public
RestResponse
<
Object
>
updateQrCode
(
String
staffId
,
String
qrCode
){
this
.
staffApiService
.
updateQrCodeByStaffId
(
staffId
,
qrCode
)
;
//需要把qrcode中http替换为https
if
(
StrUtil
.
isBlank
(
qrCode
)){
return
RestResponse
.
failure
(
"-1"
,
"参数不能为空!!!"
);
}
String
s
=
qrCode
.
substring
(
qrCode
.
indexOf
(
":"
));
String
q
=
"https"
+
s
;
this
.
staffApiService
.
updateQrCodeByStaffId
(
staffId
,
q
)
;
return
RestResponse
.
successResult
()
;
return
RestResponse
.
successResult
()
;
}
}
...
...
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