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
4dd183ed
Commit
4dd183ed
authored
Jun 28, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
token
parent
a4ad58b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
23 deletions
+3
-23
Config.java
...ain/java/com/gic/haoban/manage/service/config/Config.java
+0
-20
AppOrderApiServiceImpl.java
...vice/service/out/impl/licence/AppOrderApiServiceImpl.java
+3
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/config/Config.java
View file @
4dd183ed
...
@@ -53,26 +53,6 @@ public class Config {
...
@@ -53,26 +53,6 @@ public class Config {
private
String
promotionCaseId
;
private
String
promotionCaseId
;
@Value
(
"${promotionCaseName}"
)
@Value
(
"${promotionCaseName}"
)
private
String
promotionCaseName
;
private
String
promotionCaseName
;
@Value
(
"${buySuiteId}"
)
private
String
buySuiteId
;
@Value
(
"${suiteid}"
)
private
String
suiteid
;
public
String
getSuiteid
()
{
return
suiteid
;
}
public
void
setSuiteid
(
String
suiteid
)
{
this
.
suiteid
=
suiteid
;
}
public
String
getBuySuiteId
()
{
return
buySuiteId
;
}
public
void
setBuySuiteId
(
String
buySuiteId
)
{
this
.
buySuiteId
=
buySuiteId
;
}
public
String
getQywxCashierSecret
()
{
public
String
getQywxCashierSecret
()
{
return
qywxCashierSecret
;
return
qywxCashierSecret
;
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/licence/AppOrderApiServiceImpl.java
View file @
4dd183ed
...
@@ -104,7 +104,7 @@ public class AppOrderApiServiceImpl implements AppOrderApiService {
...
@@ -104,7 +104,7 @@ public class AppOrderApiServiceImpl implements AppOrderApiService {
String
secret
=
config
.
getQywxCashierSecret
();
String
secret
=
config
.
getQywxCashierSecret
();
String
promotionCaseName
=
config
.
getPromotionCaseName
();
String
promotionCaseName
=
config
.
getPromotionCaseName
();
String
promotionCaseId
=
config
.
getPromotionCaseId
();
String
promotionCaseId
=
config
.
getPromotionCaseId
();
String
buySuiteId
=
config
.
get
BuySuiteI
d
();
String
buySuiteId
=
config
.
get
WxSuitei
d
();
WxEnterpriseDTO
wxEnterpriseDTO
=
wxEnterpriseService
.
selectById
(
wxEnterpriseId
);
WxEnterpriseDTO
wxEnterpriseDTO
=
wxEnterpriseService
.
selectById
(
wxEnterpriseId
);
String
openCorpid
=
wxEnterpriseDTO
.
getOpenCorpid
();
String
openCorpid
=
wxEnterpriseDTO
.
getOpenCorpid
();
String
serviceCorpid
=
config
.
getCorpid
();
String
serviceCorpid
=
config
.
getCorpid
();
...
@@ -369,7 +369,7 @@ public class AppOrderApiServiceImpl implements AppOrderApiService {
...
@@ -369,7 +369,7 @@ public class AppOrderApiServiceImpl implements AppOrderApiService {
return
ServiceResponse
.
success
(
true
);
return
ServiceResponse
.
success
(
true
);
}
}
//不存在的需要根据订单id获取订单详情,并保存进数据库
//不存在的需要根据订单id获取订单详情,并保存进数据库
String
suiteid
=
config
.
getSuiteid
();
String
suiteid
=
config
.
get
Wx
Suiteid
();
JSONObject
json
=
new
JSONObject
();
JSONObject
json
=
new
JSONObject
();
json
.
put
(
"orderid"
,
orderId
);
json
.
put
(
"orderid"
,
orderId
);
ServiceResponse
<
AppOrderInfoResponseDTO
>
response
=
qywxOrderApiService
.
getAppOrderInfo
(
suiteid
,
null
,
JSON
.
toJSONString
(
json
));
ServiceResponse
<
AppOrderInfoResponseDTO
>
response
=
qywxOrderApiService
.
getAppOrderInfo
(
suiteid
,
null
,
JSON
.
toJSONString
(
json
));
...
@@ -421,7 +421,7 @@ public class AppOrderApiServiceImpl implements AppOrderApiService {
...
@@ -421,7 +421,7 @@ public class AppOrderApiServiceImpl implements AppOrderApiService {
return
ServiceResponse
.
failure
(
"-9999"
,
"参数不能为空"
);
return
ServiceResponse
.
failure
(
"-9999"
,
"参数不能为空"
);
}
}
logger
.
info
(
"定时获取好办付费应用订单列表参数:{}"
,
param
);
logger
.
info
(
"定时获取好办付费应用订单列表参数:{}"
,
param
);
String
suiteid
=
config
.
getSuiteid
();
String
suiteid
=
config
.
get
Wx
Suiteid
();
ServiceResponse
<
AppOrderResponseListDTO
>
response
=
qywxOrderApiService
.
getAppOrderInfoList
(
suiteid
,
null
,
param
);
ServiceResponse
<
AppOrderResponseListDTO
>
response
=
qywxOrderApiService
.
getAppOrderInfoList
(
suiteid
,
null
,
param
);
if
(
response
.
isSuccess
()){
if
(
response
.
isSuccess
()){
AppOrderResponseListDTO
result
=
response
.
getResult
();
AppOrderResponseListDTO
result
=
response
.
getResult
();
...
...
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