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
15ec7023
Commit
15ec7023
authored
Aug 13, 2024
by
程裕兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:添加半屏小程序
parent
fab00c3f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
service/src/main/java/com/jiejing/fitness/finance/service/merchant/convert/StudioEmbeddedXcxConvert.java
+5
-3
service/src/main/java/com/jiejing/fitness/finance/service/merchant/impl/StudioMerchantServiceImpl.java
+2
-1
No files found.
service/src/main/java/com/jiejing/fitness/finance/service/merchant/convert/StudioEmbeddedXcxConvert.java
View file @
15ec7023
...
...
@@ -16,11 +16,13 @@ import java.util.stream.Collectors;
*/
public
class
StudioEmbeddedXcxConvert
{
public
static
StudioEmbeddedXcxApply
toEntity
(
Long
studioId
,
String
appId
)
{
public
static
StudioEmbeddedXcxApply
toEntity
(
Long
studioId
,
String
componentAppId
,
String
systemXcxAppId
,
String
authorizerAppId
)
{
StudioEmbeddedXcxApply
record
=
new
StudioEmbeddedXcxApply
();
record
.
setId
(
IdWorker
.
getId
());
record
.
setAppId
(
appId
);
// record.setAuthorizerAppId(vo.getAuthorizerAppId());
record
.
setComponentAppId
(
componentAppId
);
record
.
setAppId
(
systemXcxAppId
);
record
.
setAuthorizerAppId
(
authorizerAppId
);
record
.
setStudioId
(
studioId
);
record
.
setState
(
EmbededXcxEnum
.
INIT
.
getCode
());
record
.
setCreateTime
(
new
Date
());
...
...
service/src/main/java/com/jiejing/fitness/finance/service/merchant/impl/StudioMerchantServiceImpl.java
View file @
15ec7023
...
...
@@ -265,7 +265,8 @@ public class StudioMerchantServiceImpl implements StudioMerchantService {
.
filter
(
appId
->
null
==
existMap
.
get
(
appId
))
.
forEach
(
appId
->
{
log
.
info
(
"bind embedded xcx {}, {}"
,
studioId
,
appId
);
StudioEmbeddedXcxApply
entity
=
StudioEmbeddedXcxConvert
.
toEntity
(
studioId
,
appId
);
StudioEmbeddedXcxApply
entity
=
StudioEmbeddedXcxConvert
.
toEntity
(
studioId
,
wxComponentAppId
,
systemXcxAppId
,
appId
);
studioEmbeddedXcxApplyRpService
.
insert
(
entity
);
try
{
JSONObject
result
=
weXcxService
.
addEmbeddedXcx
(
wxComponentAppId
,
appId
,
systemXcxAppId
,
...
...
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