Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
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
YZG
yzg-util
Commits
9b19c0e9
Commit
9b19c0e9
authored
Jul 15, 2022
by
xianjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加返回转byte
parent
c9f56ab6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
WxXcxRequestByteArrayImpl.java
...com/yanzuoguang/wxxcx/base/WxXcxRequestByteArrayImpl.java
+2
-0
WxXcxWxaCodeGetUnlimitedRequest.java
...x/codeorlink/wxacode/WxXcxWxaCodeGetUnlimitedRequest.java
+1
-0
No files found.
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/base/WxXcxRequestByteArrayImpl.java
View file @
9b19c0e9
...
@@ -2,6 +2,7 @@ package com.yanzuoguang.wxxcx.base;
...
@@ -2,6 +2,7 @@ package com.yanzuoguang.wxxcx.base;
import
com.yanzuoguang.util.helper.HttpHelper
;
import
com.yanzuoguang.util.helper.HttpHelper
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Component
;
import
java.net.HttpURLConnection
;
import
java.net.HttpURLConnection
;
import
java.util.HashMap
;
import
java.util.HashMap
;
...
@@ -10,6 +11,7 @@ import java.util.Map;
...
@@ -10,6 +11,7 @@ import java.util.Map;
/**
/**
* @author 李贤军
* @author 李贤军
*/
*/
@Component
public
class
WxXcxRequestByteArrayImpl
implements
WxXcxByteArrayRequest
{
public
class
WxXcxRequestByteArrayImpl
implements
WxXcxByteArrayRequest
{
@Value
(
"${yzg.wx.xwx.charset:utf-8}"
)
@Value
(
"${yzg.wx.xwx.charset:utf-8}"
)
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/codeorlink/wxacode/WxXcxWxaCodeGetUnlimitedRequest.java
View file @
9b19c0e9
...
@@ -32,6 +32,7 @@ public class WxXcxWxaCodeGetUnlimitedRequest implements WxXcxRequestUrl, WxXcxRe
...
@@ -32,6 +32,7 @@ public class WxXcxWxaCodeGetUnlimitedRequest implements WxXcxRequestUrl, WxXcxRe
@Override
@Override
public
String
getUrlPara
()
{
public
String
getUrlPara
()
{
accessToken
.
setAccess_token
(
"58_2wqHumai7sfldQz_qE_wMxbNIyepaedLwi83MTQSIV8IibnXM4-azZ59N_SHBrlX0UnaLYQRSI3O3LwwgGBTkZa4CoiDtWA0cNnFu2Z_Rm7qUq5MMvPx0yYe9jXa7tms7wyh5iy0mK82YseIEZLhAIAMHT"
);
return
HttpHelper
.
getUrlParameter
(
accessToken
);
return
HttpHelper
.
getUrlParameter
(
accessToken
);
}
}
...
...
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