Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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
base_platform_enterprise
gic-platform-enterprise
Commits
223b3eae
Commit
223b3eae
authored
Jul 31, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店license 的code修正为store
parent
1efe52a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
LicenseUtils.java
.../src/main/java/com/gic/enterprise/utils/LicenseUtils.java
+1
-1
EnterpriseApiServiceImpl.java
...terprise/service/outer/impl/EnterpriseApiServiceImpl.java
+1
-1
No files found.
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/utils/LicenseUtils.java
View file @
223b3eae
...
...
@@ -6,7 +6,7 @@ public class LicenseUtils {
public
static
final
String
MEMBER_CARD_LICENSE_CODE
=
"member_card"
;
public
static
final
String
SERVICE_CARD_LICENSE_CODE
=
"wxfwh"
;
public
static
final
String
WECHAT_LICENSE_CODE
=
"wxapp"
;
public
static
final
String
STORE_LICENSE_CODE
=
"
165165
"
;
public
static
final
String
STORE_LICENSE_CODE
=
"
store
"
;
public
static
boolean
isGoodsLicense
(
String
licenseCode
)
{
return
GOODS_LICENSE_CODE
.
equals
(
licenseCode
);
...
...
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/impl/EnterpriseApiServiceImpl.java
View file @
223b3eae
...
...
@@ -530,7 +530,7 @@ public class EnterpriseApiServiceImpl implements EnterpriseApiService {
@Override
public
ServiceResponse
<
List
<
EnterpriseLicenseDTO
>>
listEnterpriseLicense
(
Integer
enterpriseId
)
{
ServiceResponse
<
List
<
ApplicationLicenseDTO
>>
hasBuyLicense
=
enterpriseLicenseApiService
.
listEnterpriseBuyLicense
(
Arrays
.
asList
(
enterpriseId
));
LOGGER
.
info
(
"商户ID:{},license信息:{}"
,
JSON
.
toJSONString
(
hasBuyLicense
));
LOGGER
.
info
(
"商户ID:{},license信息:{}"
,
enterpriseId
,
JSON
.
toJSONString
(
hasBuyLicense
));
if
(
hasBuyLicense
.
isSuccess
())
{
List
<
ApplicationLicenseDTO
>
licenseList
=
hasBuyLicense
.
getResult
();
if
(
CollectionUtils
.
isNotEmpty
(
licenseList
))
{
...
...
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