Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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
base_platform_enterprise
gic-platform-enterprise
Commits
37036ae7
Commit
37036ae7
authored
Sep 22, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码规范
parent
1c6d5f03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
QrcodeController.java
...a/com/gic/enterprise/web/controller/QrcodeController.java
+3
-3
No files found.
gic-platform-enterprise-web/src/main/java/com/gic/enterprise/web/controller/QrcodeController.java
View file @
37036ae7
...
@@ -27,7 +27,7 @@ import com.gic.enterprise.web.utils.QrcodeUtils;
...
@@ -27,7 +27,7 @@ import com.gic.enterprise.web.utils.QrcodeUtils;
import
com.gic.enterprise.web.vo.QrcodeScenesClassifyVO
;
import
com.gic.enterprise.web.vo.QrcodeScenesClassifyVO
;
import
com.gic.thirdparty.BucketNameEnum
;
import
com.gic.thirdparty.BucketNameEnum
;
import
com.gic.thirdparty.FileOperateUtils
;
import
com.gic.thirdparty.FileOperateUtils
;
import
com.gic.thirdparty.pic.Q
Q
CloudPicUtils
;
import
com.gic.thirdparty.pic.Q
q
CloudPicUtils
;
import
com.gic.thirdparty.pic.UploadResult
;
import
com.gic.thirdparty.pic.UploadResult
;
import
com.gic.wechat.business.api.service.fwh.WeixinBaseFunService
;
import
com.gic.wechat.business.api.service.fwh.WeixinBaseFunService
;
import
com.gic.wechat.business.api.service.wxa.WeixinWxaFunService
;
import
com.gic.wechat.business.api.service.wxa.WeixinWxaFunService
;
...
@@ -246,7 +246,7 @@ public class QrcodeController {
...
@@ -246,7 +246,7 @@ public class QrcodeController {
public
RestResponse
takeAppletQrcode
(
String
appkey
,
Integer
pageId
){
public
RestResponse
takeAppletQrcode
(
String
appkey
,
Integer
pageId
){
String
path
=
"pages/customView/customView"
;
String
path
=
"pages/customView/customView"
;
byte
[]
appletQrcode
=
this
.
createAppletQrcode
(
appkey
,
path
,
pageId
+
""
);
byte
[]
appletQrcode
=
this
.
createAppletQrcode
(
appkey
,
path
,
pageId
+
""
);
UploadResult
uploadResult
=
Q
Q
CloudPicUtils
.
uploadLocalPicStream
(
"pic01"
,
""
,
appletQrcode
);
UploadResult
uploadResult
=
Q
q
CloudPicUtils
.
uploadLocalPicStream
(
"pic01"
,
""
,
appletQrcode
);
Map
<
String
,
Object
>
pic
=
new
HashMap
<>();
Map
<
String
,
Object
>
pic
=
new
HashMap
<>();
pic
.
put
(
"fileId"
,
uploadResult
.
getFileId
());
pic
.
put
(
"fileId"
,
uploadResult
.
getFileId
());
pic
.
put
(
"url"
,
uploadResult
.
getUrl
());
pic
.
put
(
"url"
,
uploadResult
.
getUrl
());
...
@@ -260,7 +260,7 @@ public class QrcodeController {
...
@@ -260,7 +260,7 @@ public class QrcodeController {
public
RestResponse
takeStoreQrcode
(
String
appkey
,
Integer
id
,
Integer
qrcodeType
){
public
RestResponse
takeStoreQrcode
(
String
appkey
,
Integer
id
,
Integer
qrcodeType
){
String
path
=
"pages/index/index?qrcodeParam="
+
id
+
"&qrcodeType="
+
qrcodeType
;
String
path
=
"pages/index/index?qrcodeParam="
+
id
+
"&qrcodeType="
+
qrcodeType
;
byte
[]
appletQrcode
=
this
.
createAppletQrcode
(
appkey
,
path
,
id
+
""
);
byte
[]
appletQrcode
=
this
.
createAppletQrcode
(
appkey
,
path
,
id
+
""
);
UploadResult
uploadResult
=
Q
Q
CloudPicUtils
.
uploadLocalPicStream
(
"pic01"
,
""
,
appletQrcode
);
UploadResult
uploadResult
=
Q
q
CloudPicUtils
.
uploadLocalPicStream
(
"pic01"
,
""
,
appletQrcode
);
Map
<
String
,
Object
>
pic
=
new
HashMap
<>();
Map
<
String
,
Object
>
pic
=
new
HashMap
<>();
pic
.
put
(
"fileId"
,
uploadResult
.
getFileId
());
pic
.
put
(
"fileId"
,
uploadResult
.
getFileId
());
pic
.
put
(
"url"
,
uploadResult
.
getUrl
());
pic
.
put
(
"url"
,
uploadResult
.
getUrl
());
...
...
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