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
QianQiXiang
haoban-manage3.0
Commits
8ef12973
Commit
8ef12973
authored
Apr 14, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
授权绑定,授权门店列表,binlog
parent
a1af4e34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
WxEnterpriseController.java
.../haoban/manage/web/controller/WxEnterpriseController.java
+4
-2
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseController.java
View file @
8ef12973
...
...
@@ -3,6 +3,7 @@ package com.gic.haoban.manage.web.controller;
import
cn.hutool.core.collection.CollectionUtil
;
import
com.alibaba.druid.util.StringUtils
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gic.api.base.commons.Page
;
import
com.gic.commons.util.DateUtil
;
import
com.gic.enterprise.api.dto.EnterpriseAndUserDTO
;
...
...
@@ -33,6 +34,7 @@ import com.gic.wechat.api.dto.qywx.UserDTO;
import
com.gic.wechat.api.service.qywx.QywxUserApiService
;
import
com.gic.wechat.token.api.dto.QywxCorpInfoDTO
;
import
com.gic.wechat.token.api.service.QywxTokenManageService
;
import
net.sf.json.JSONArray
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
...
...
@@ -179,8 +181,8 @@ public class WxEnterpriseController extends WebBaseController{
detailDTO
.
setStaffName
(
staffName
);
detailDTO
.
setMemberOpenCardFlag
(
bindQo
.
getMemberOpenCardFlag
());
detailDTO
.
setWxEnterpriseType
(
bindQo
.
getWxEnterpriseType
());
List
<
StoreOrGroupInfoDTO
>
storeOrGroupInfoDTOS
=
EntityUtil
.
changeEntityListByJSON
(
StoreOrGroupInfoDTO
.
class
,
bindQo
.
getRelations
()
);
detailDTO
.
setRelations
(
storeOrGroupInfoDTOS
);
List
<
StoreOrGroupInfoDTO
>
storeOrGroupInfoDTOS
=
JSONObject
.
parseArray
(
bindQo
.
getRelations
(),
StoreOrGroupInfoDTO
.
class
);
detailDTO
.
setRelations
(
storeOrGroupInfoDTOS
);
int
i
=
wxEnterpriseRelatedApiService
.
wxEnterpriseBind
(
detailDTO
);
if
(
i
==
1
){
return
resultResponse
(
HaoBanErrCode
.
ERR_10006
);
...
...
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