Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fit-finance
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
fitness-server
fit-finance
Commits
8de51d91
Commit
8de51d91
authored
Nov 20, 2024
by
吴一龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4134ea9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
service/src/main/java/com/jiejing/fitness/finance/service/axf/impl/AxfServiceImpl.java
+3
-4
No files found.
service/src/main/java/com/jiejing/fitness/finance/service/axf/impl/AxfServiceImpl.java
View file @
8de51d91
...
...
@@ -15,7 +15,6 @@ import com.jiejing.common.request.IdRequest;
import
com.jiejing.common.request.IdsRequest
;
import
com.jiejing.common.utils.convert.BeanUtil
;
import
com.jiejing.common.utils.crypt.AesUtil
;
import
com.jiejing.filecenter.api.resource.vo.ResourceInfoVO
;
import
com.jiejing.fitness.enums.delay.DelayTaskCodeEnum
;
import
com.jiejing.fitness.enums.finance.PartyTypeEnum
;
import
com.jiejing.fitness.finance.api.axf.enums.AxfOrderSignStateEnums
;
...
...
@@ -1016,11 +1015,11 @@ public class AxfServiceImpl implements AxfService {
private
Map
<
ResourceTypeEnums
,
ResourceInfo
>
upload
(
StudioAxfApplyRequest
request
,
StudioAxfApply
apply
)
{
return
AxfConvert
.
toResourceMap
(
request
,
resourceIds
->
{
Map
<
Long
,
ResourceInfoVO
>
urlMap
=
resourceRpcService
.
getResourceMap
(
Map
<
Long
,
com
.
jiejing
.
fos
.
api
.
vo
.
ResourceInfoVO
>
urlMap
=
resourceRpcService
.
getResourceMap
(
request
.
getBrandId
(),
resourceIds
);
Map
<
Long
,
String
>
thirdMap
=
new
HashMap
<>(
2
);
urlMap
.
keySet
().
forEach
(
resourceId
->
{
ResourceInfoVO
info
=
urlMap
.
get
(
resourceId
);
com
.
jiejing
.
fos
.
api
.
vo
.
ResourceInfoVO
info
=
urlMap
.
get
(
resourceId
);
JsonResult
<
UploadVO
>
result
=
merchantApi
.
upload
(
UploadRequest
.
builder
().
channelNo
(
AxfConst
.
CHANNEL_NO
).
url
(
info
.
getUrl
())
.
resourceType
(
ResourceTypeEnums
.
LICENSE
).
suffix
(
info
.
getSuffix
())
...
...
@@ -1107,7 +1106,7 @@ public class AxfServiceImpl implements AxfService {
private
StudioAxfApplyVO
toVO
(
StudioAxfApply
apply
)
{
return
AxfConvert
.
toVO
(
apply
,
vo
->
{
Map
<
Long
,
ResourceInfoVO
>
map
=
resourceRpcService
.
getResourceMap
(
apply
.
getBrandId
(),
Map
<
Long
,
com
.
jiejing
.
fos
.
api
.
vo
.
ResourceInfoVO
>
map
=
resourceRpcService
.
getResourceMap
(
apply
.
getBrandId
(),
Lists
.
newArrayList
(
vo
.
getLicenseResourceId
(),
vo
.
getStoreHeadResourceId
()));
vo
.
setLicenseResourceUrl
(
map
.
get
(
vo
.
getLicenseResourceId
()).
getUrl
());
vo
.
setStoreHeadResourceUrl
(
map
.
get
(
vo
.
getStoreHeadResourceId
()).
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