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
5e47cead
Commit
5e47cead
authored
Sep 19, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
ae46a9e6
8a6caa26
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
10 deletions
+18
-10
dubbo-haoban-manage-service.xml
...ervice/src/main/resources/dubbo-haoban-manage-service.xml
+3
-1
HmPageServiceTest.java
haoban-manage3-service/src/test/java/HmPageServiceTest.java
+5
-9
WxEnterpriseInfoController.java
...ban/manage/web/controller/WxEnterpriseInfoController.java
+10
-0
No files found.
haoban-manage3-service/src/main/resources/dubbo-haoban-manage-service.xml
View file @
5e47cead
...
...
@@ -192,7 +192,8 @@
<dubbo:reference
interface=
"com.gic.marketing.api.service.AccountOverdueSmsSendService"
id=
"accountOverdueSmsSendService"
timeout=
"10000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.thirdparty.api.service.VoiceService"
id=
"voiceService"
timeout=
"10000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.thirdparty.api.service.CommunicationService"
id=
"communicationService"
timeout=
"10000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.member.api.service.MemberEntranceApiService"
id=
"memberEntranceApiService"
timeout=
"10000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.wechat.api.service.qywx.QywxExternalUserService"
id=
"qywxExternalUserService"
timeout=
"10000"
retries=
"0"
/>
</beans>
\ No newline at end of file
haoban-manage3-service/src/test/java/HmPageServiceTest.java
View file @
5e47cead
...
...
@@ -25,10 +25,9 @@ import com.gic.haoban.manage.api.service.hm.HmGroupApiService;
import
com.gic.haoban.manage.api.service.hm.HmPageApiService
;
import
com.gic.haoban.manage.api.service.hm.HmQrcodeApiService
;
import
com.gic.haoban.manage.api.service.hm.HmWelcomeRelationApiService
;
import
com.gic.haoban.manage.service.config.Config
;
import
com.gic.haoban.manage.service.pojo.bo.hm.HmWelcomeRelationBO
;
import
com.gic.haoban.manage.service.service.ExternalClerkRelatedService
;
import
com.gic.haoban.manage.service.service.hm.WelcomeRelationService
;
import
com.gic.wechat.api.service.qywx.QywxExternalUserService
;
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
@ContextConfiguration
(
locations
=
{
"classpath:applicationContext-conf.xml"
})
...
...
@@ -48,16 +47,13 @@ public class HmPageServiceTest {
@Autowired
private
WxEnterpriseApiService
wxEnterpriseApiService
;
@Autowired
private
QywxExternalUserService
qywxExternalUserService
;
@Autowired
private
Config
config
;
private
ExternalClerkRelatedService
externalClerkRelatedService
;
@Test
public
void
test
(){
// this.wxEnterpriseApiService.stopHaoban("ff8080815dacd3a2015dacd3ef5c0000");
System
.
out
.
println
(
JSON
.
toJSONString
(
this
.
qywxExternalUserService
.
externalUseridToPendingId
(
"wp59NLDQAAWfAU-uhldYZyNZnPXz_1xg"
,
config
.
getWxSuiteid
(),
Arrays
.
asList
(
"wm59NLDQAAAI39Od3hmd81FyMMxJcGuw"
,
"wm59NLDQAA10rEOdSvUZVxte8j0SNEAA"
))
));;
this
.
externalClerkRelatedService
.
repairExternalUserId
(
"218a8a6c2ca14e28a1053f541be0e49d,ca66a01b79474c40b3e7c7f93daf1a3b"
);
// this.wxEnterpriseApiService.stopHaoban("ff80808182c3a46b0182c3a4ea7d0000");
/* HmPageQDTO pageQDTO = new HmPageQDTO();
pageQDTO.setPageSearchText("MB01419872763172380673");
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseInfoController.java
View file @
5e47cead
...
...
@@ -358,6 +358,16 @@ public class WxEnterpriseInfoController extends WebBaseController {
public
HaobanResponse
getInfoByMemberCode
(
GetUserByMemberCodeQo
qo
)
{
logger
.
info
(
"会员小程序={}"
,
JSON
.
toJSONString
(
qo
));
String
gicEnterpriseId
=
qo
.
getGicEnterpriseId
();
if
(
StringUtils
.
isNotEmpty
(
gicEnterpriseId
))
{
if
(
this
.
wxEnterpriseApiService
.
haobanIsStop
(
gicEnterpriseId
))
{
HaobanResponse
response
=
new
HaobanResponse
()
;
response
.
setErrorCode
(-
888
);
String
msg
=
this
.
wxEnterpriseApiService
.
getEndDate
(
gicEnterpriseId
)
;
response
.
setMessage
(
msg
);
response
.
setDetailError
(
msg
);
return
response
;
}
}
WxEnterpriseDTO
enterpriseDTO
=
null
;
if
(
StringUtils
.
isNotBlank
(
qo
.
getCorpId
()))
{
enterpriseDTO
=
wxEnterpriseApiService
.
getEnterpriseBycorpId
(
qo
.
getCorpId
());
...
...
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