Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
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-auth
Commits
679eb1c7
Commit
679eb1c7
authored
Sep 02, 2019
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联合商户
parent
82cc05e8
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
172 additions
and
55 deletions
+172
-55
UnionEnterpriseApiService.java
.../java/com/gic/auth/service/UnionEnterpriseApiService.java
+1
-1
TabSysUnionEnterpriseResourceMapper.java
.../auth/dao/mapper/TabSysUnionEnterpriseResourceMapper.java
+3
-0
UnionEnterpriseResourceService.java
.../com/gic/auth/service/UnionEnterpriseResourceService.java
+3
-1
UnionEnterrpiseResourceServiceImpl.java
...auth/service/impl/UnionEnterrpiseResourceServiceImpl.java
+7
-1
AuthCodeApiServiceImpl.java
...m/gic/auth/service/outer/impl/AuthCodeApiServiceImpl.java
+2
-2
UnionEnterpriseApiServiceImpl.java
...uth/service/outer/impl/UnionEnterpriseApiServiceImpl.java
+28
-14
dubbo-gic-platform-auth-service.xml
...ce/src/main/resources/dubbo-gic-platform-auth-service.xml
+1
-0
TabSysAuthCodeMapper.xml
...ervice/src/main/resources/mapper/TabSysAuthCodeMapper.xml
+2
-2
TabSysUnionEnterpriseMapper.xml
...src/main/resources/mapper/TabSysUnionEnterpriseMapper.xml
+2
-2
TabSysUnionEnterpriseResourceMapper.xml
.../resources/mapper/TabSysUnionEnterpriseResourceMapper.xml
+8
-1
UnionEnterpriseController.java
...om/gic/auth/web/controller/UnionEnterpriseController.java
+75
-1
UnionEnterpriseQO.java
.../src/main/java/com/gic/auth/web/qo/UnionEnterpriseQO.java
+38
-29
dubbo-gic-platform-auth-web.xml
...th-web/src/main/resources/dubbo-gic-platform-auth-web.xml
+2
-1
No files found.
gic-platform-auth-api/src/main/java/com/gic/auth/service/UnionEnterpriseApiService.java
View file @
679eb1c7
...
...
@@ -8,7 +8,7 @@ public interface UnionEnterpriseApiService {
ServiceResponse
<
UnionEnterpriseDTO
>
getUnionEnterpriseByUnionEnterpriseId
(
Integer
unionEnterrpiseId
);
ServiceResponse
<
Integer
>
delUnionEnterprise
(
Integer
unionId
);
ServiceResponse
<
Integer
>
delUnionEnterprise
(
Integer
unionId
,
Integer
enterpriseId
);
ServiceResponse
<
UnionEnterpriseDTO
>
getUnionEnterpriseById
(
Integer
unionId
);
}
gic-platform-auth-service/src/main/java/com/gic/auth/dao/mapper/TabSysUnionEnterpriseResourceMapper.java
View file @
679eb1c7
...
...
@@ -55,4 +55,6 @@ public interface TabSysUnionEnterpriseResourceMapper {
int
updateByPrimaryKey
(
TabSysUnionEnterpriseResource
record
);
List
<
TabSysUnionEnterpriseResource
>
getResource
(
@Param
(
"unionId"
)
Integer
unionId
,
@Param
(
"type"
)
int
type
);
int
delResource
(
@Param
(
"enterpriseId"
)
Integer
enterpriseId
,
@Param
(
"unionId"
)
Integer
unionId
);
}
\ No newline at end of file
gic-platform-auth-service/src/main/java/com/gic/auth/service/UnionEnterpriseResourceService.java
View file @
679eb1c7
...
...
@@ -3,7 +3,9 @@ package com.gic.auth.service;
import
com.gic.auth.entity.TabSysUnionEnterpriseResource
;
public
interface
UnionEnterpriseResourceService
{
int
saveResource
(
Integer
unionId
,
Long
resourceId
,
int
type
);
int
saveResource
(
Integer
unionId
,
Long
resourceId
,
int
type
,
Integer
enterpriseId
);
TabSysUnionEnterpriseResource
getByUnionIdAndType
(
Integer
unionId
,
int
type
);
int
delResource
(
Integer
unionId
,
Integer
enterpriseId
);
}
gic-platform-auth-service/src/main/java/com/gic/auth/service/impl/UnionEnterrpiseResourceServiceImpl.java
View file @
679eb1c7
...
...
@@ -18,9 +18,10 @@ public class UnionEnterrpiseResourceServiceImpl implements UnionEnterpriseResour
private
TabSysUnionEnterpriseResourceMapper
tabSysUnionEnterpriseResourceMapper
;
@Override
public
int
saveResource
(
Integer
unionId
,
Long
resourceId
,
int
type
)
{
public
int
saveResource
(
Integer
unionId
,
Long
resourceId
,
int
type
,
Integer
enterpriseId
)
{
TabSysUnionEnterpriseResource
resource
=
new
TabSysUnionEnterpriseResource
();
resource
.
setResource
(
resourceId
);
resource
.
setEnterpriseId
(
enterpriseId
);
TabSysUnionEnterpriseResource
tabSysUnionEnterpriseResource
=
this
.
getByUnionIdAndType
(
unionId
,
type
);
if
(
tabSysUnionEnterpriseResource
!=
null
){
resource
.
setUnionResourceId
(
tabSysUnionEnterpriseResource
.
getUnionResourceId
());
...
...
@@ -44,4 +45,9 @@ public class UnionEnterrpiseResourceServiceImpl implements UnionEnterpriseResour
}
return
null
;
}
@Override
public
int
delResource
(
Integer
unionId
,
Integer
enterpriseId
)
{
return
this
.
tabSysUnionEnterpriseResourceMapper
.
delResource
(
enterpriseId
,
unionId
);
}
}
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/AuthCodeApiServiceImpl.java
View file @
679eb1c7
...
...
@@ -21,8 +21,8 @@ public class AuthCodeApiServiceImpl implements AuthCodeApiService {
sysAuthCode
.
setCreateTime
(
new
Date
());
sysAuthCode
.
setUpdateTime
(
new
Date
());
sysAuthCode
.
setStatus
(
Constants
.
NORMAL_STATUS
);
int
result
=
this
.
authCodeService
.
saveAuthCode
(
sysAuthCode
);
return
ServiceResponse
.
success
(
result
);
this
.
authCodeService
.
saveAuthCode
(
sysAuthCode
);
return
ServiceResponse
.
success
(
sysAuthCode
.
getAuthCodeId
()
);
}
@Override
...
...
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/UnionEnterpriseApiServiceImpl.java
View file @
679eb1c7
package
com
.
gic
.
auth
.
service
.
outer
.
impl
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.auth.constant.AuthorizationStatusEnum
;
import
com.gic.auth.constant.ResourceTypeEnum
;
import
com.gic.auth.dto.UnionEnterpriseDTO
;
import
com.gic.auth.entity.TabSysUnionEnterprise
;
...
...
@@ -10,7 +11,6 @@ import com.gic.auth.service.UnionEnterpriseResourceService;
import
com.gic.auth.service.UnionEnterpriseService
;
import
com.gic.commons.util.EntityUtil
;
import
com.gic.enterprise.constants.Constants
;
import
com.gic.enterprise.dto.EnterpriseDTO
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
...
...
@@ -28,18 +28,20 @@ public class UnionEnterpriseApiServiceImpl implements UnionEnterpriseApiService
@Transactional
public
ServiceResponse
<
Integer
>
saveUnionEnterprise
(
UnionEnterpriseDTO
enterpriseDTO
)
{
TabSysUnionEnterprise
unionEnterprise
=
EntityUtil
.
changeEntityByJSON
(
TabSysUnionEnterprise
.
class
,
enterpriseDTO
);
int
i
=
0
;
if
(
enterpriseDTO
.
getUnionId
()
==
null
)
{
unionEnterprise
.
setCreateTime
(
new
Date
());
unionEnterprise
.
setStatus
(
Constants
.
NORMAL_STATUS
);
unionEnterprise
.
setAuthorizationStatus
(
Constants
.
NORMAL_STATUS
);
unionEnterprise
.
setAuthorizationStatus
(
AuthorizationStatusEnum
.
NORMAL
.
getCode
()
);
unionEnterprise
.
setUpdateTime
(
new
Date
());
int
i
=
this
.
unionEnterpriseService
.
updateUnionEnterprise
(
unionEnterprise
);
if
(
i
>
0
)
{
this
.
saveResource
(
unionEnterprise
.
getUnionId
(),
enterpriseDTO
);
return
ServiceResponse
.
success
(
i
);
}
i
=
this
.
unionEnterpriseService
.
saveUnionEnterprise
(
unionEnterprise
);
}
else
{
i
=
this
.
unionEnterpriseService
.
updateUnionEnterprise
(
unionEnterprise
);
}
return
ServiceResponse
.
success
();
if
(
i
>
0
)
{
this
.
saveResource
(
unionEnterprise
.
getUnionId
(),
enterpriseDTO
);
}
return
ServiceResponse
.
success
(
i
);
}
@Override
...
...
@@ -51,8 +53,15 @@ public class UnionEnterpriseApiServiceImpl implements UnionEnterpriseApiService
}
@Override
public
ServiceResponse
<
Integer
>
delUnionEnterprise
(
Integer
unionId
)
{
@Transactional
public
ServiceResponse
<
Integer
>
delUnionEnterprise
(
Integer
unionId
,
Integer
enterpriseId
)
{
int
i
=
this
.
unionEnterpriseService
.
delUnionEnterprise
(
unionId
);
if
(
i
>
0
){
int
re
=
this
.
unionEnterpriseResourceService
.
delResource
(
unionId
,
enterpriseId
);
if
(
re
==
0
){
throw
new
RuntimeException
();
}
}
return
ServiceResponse
.
success
(
i
);
}
...
...
@@ -66,23 +75,28 @@ public class UnionEnterpriseApiServiceImpl implements UnionEnterpriseApiService
private
int
saveResource
(
Integer
unionId
,
UnionEnterpriseDTO
enterpriseDTO
){
int
i
=
0
;
i
=
this
.
unionEnterpriseResourceService
.
saveResource
(
unionId
,
enterpriseDTO
.
getMemberCardResourceId
(),
ResourceTypeEnum
.
MEMBER_CARD_RESOURCE
.
getCode
());
i
=
this
.
unionEnterpriseResourceService
.
saveResource
(
unionId
,
enterpriseDTO
.
getMemberCardResourceId
(),
ResourceTypeEnum
.
MEMBER_CARD_RESOURCE
.
getCode
(),
enterpriseDTO
.
getEnterpriseId
());
if
(
i
==
0
){
throw
new
RuntimeException
();
}
i
=
this
.
unionEnterpriseResourceService
.
saveResource
(
unionId
,
enterpriseDTO
.
getFwhResourceId
(),
ResourceTypeEnum
.
FWH_RESOURCE
.
getCode
());
i
=
this
.
unionEnterpriseResourceService
.
saveResource
(
unionId
,
enterpriseDTO
.
getFwhResourceId
(),
ResourceTypeEnum
.
FWH_RESOURCE
.
getCode
(),
enterpriseDTO
.
getEnterpriseId
());
if
(
i
==
0
){
throw
new
RuntimeException
();
}
i
=
this
.
unionEnterpriseResourceService
.
saveResource
(
unionId
,
enterpriseDTO
.
getAppletResourceId
(),
ResourceTypeEnum
.
APPLET_RESOURCE
.
getCode
());
i
=
this
.
unionEnterpriseResourceService
.
saveResource
(
unionId
,
enterpriseDTO
.
getAppletResourceId
(),
ResourceTypeEnum
.
APPLET_RESOURCE
.
getCode
(),
enterpriseDTO
.
getEnterpriseId
());
if
(
i
==
0
){
throw
new
RuntimeException
();
}
i
=
this
.
unionEnterpriseResourceService
.
saveResource
(
unionId
,
enterpriseDTO
.
getStoreResourceId
(),
ResourceTypeEnum
.
STORE_RESOURCE
.
getCode
());
i
=
this
.
unionEnterpriseResourceService
.
saveResource
(
unionId
,
enterpriseDTO
.
getStoreResourceId
(),
ResourceTypeEnum
.
STORE_RESOURCE
.
getCode
(),
enterpriseDTO
.
getEnterpriseId
());
if
(
i
==
0
){
throw
new
RuntimeException
();
}
i
=
this
.
unionEnterpriseResourceService
.
saveResource
(
unionId
,
enterpriseDTO
.
getGoodsResourceId
(),
ResourceTypeEnum
.
GOODS_RESOURCE
.
getCode
());
i
=
this
.
unionEnterpriseResourceService
.
saveResource
(
unionId
,
enterpriseDTO
.
getGoodsResourceId
(),
ResourceTypeEnum
.
GOODS_RESOURCE
.
getCode
(),
enterpriseDTO
.
getEnterpriseId
());
if
(
i
==
0
){
throw
new
RuntimeException
();
}
...
...
gic-platform-auth-service/src/main/resources/dubbo-gic-platform-auth-service.xml
View file @
679eb1c7
...
...
@@ -21,4 +21,5 @@
<!--资源组-->
<dubbo:service
interface=
"com.gic.auth.service.ResourceApiService"
ref=
"resourceApiService"
timeout=
"6000"
/>
<dubbo:service
interface=
"com.gic.auth.service.AuthCodeApiService"
ref=
"authCodeApiService"
timeout=
"6000"
/>
<dubbo:service
interface=
"com.gic.auth.service.UnionEnterpriseApiService"
ref=
"unionEnterpriseApiService"
timeout=
"6000"
/>
</beans>
gic-platform-auth-service/src/main/resources/mapper/TabSysAuthCodeMapper.xml
View file @
679eb1c7
...
...
@@ -25,7 +25,7 @@
delete from tab_sys_auth_code
where auth_code_id = #{authCodeId,jdbcType=INTEGER}
</delete>
<insert
id=
"insert"
parameterType=
"com.gic.auth.entity.TabSysAuthCode"
>
<insert
id=
"insert"
parameterType=
"com.gic.auth.entity.TabSysAuthCode"
useGeneratedKeys=
"true"
keyProperty=
"authCodeId"
>
insert into tab_sys_auth_code (auth_code_id, auth_code, enterprise_id,
relation_id, status, create_time,
expiration_time, update_time)
...
...
@@ -33,7 +33,7 @@
#{relationId,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{expirationTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gic.auth.entity.TabSysAuthCode"
>
<insert
id=
"insertSelective"
parameterType=
"com.gic.auth.entity.TabSysAuthCode"
useGeneratedKeys=
"true"
keyProperty=
"authCodeId"
>
insert into tab_sys_auth_code
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"authCodeId != null"
>
...
...
gic-platform-auth-service/src/main/resources/mapper/TabSysUnionEnterpriseMapper.xml
View file @
679eb1c7
...
...
@@ -26,7 +26,7 @@
delete from tab_sys_union_enterprise
where union_id = #{unionId,jdbcType=INTEGER}
</delete>
<insert
id=
"insert"
parameterType=
"com.gic.auth.entity.TabSysUnionEnterprise"
useGeneratedKeys=
"true"
keyProperty=
"union
_i
d"
>
<insert
id=
"insert"
parameterType=
"com.gic.auth.entity.TabSysUnionEnterprise"
useGeneratedKeys=
"true"
keyProperty=
"union
I
d"
>
insert into tab_sys_union_enterprise (union_id, union_enterprise_id, union_enterprise_name,
status, authorization_status, authorization_time,
create_time, update_time, enterprise_id
...
...
@@ -36,7 +36,7 @@
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{enterpriseId,jdbcType=INTEGER}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gic.auth.entity.TabSysUnionEnterprise"
useGeneratedKeys=
"true"
keyProperty=
"union
_i
d"
>
<insert
id=
"insertSelective"
parameterType=
"com.gic.auth.entity.TabSysUnionEnterprise"
useGeneratedKeys=
"true"
keyProperty=
"union
I
d"
>
insert into tab_sys_union_enterprise
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"unionId != null"
>
...
...
gic-platform-auth-service/src/main/resources/mapper/TabSysUnionEnterpriseResourceMapper.xml
View file @
679eb1c7
...
...
@@ -167,8 +167,14 @@
select
<include
refid=
"Base_Column_List"
/>
from tab_sys_union_enterprise_resource
where union_id = #{union
Resource
Id,jdbcType=INTEGER}
where union_id = #{unionId,jdbcType=INTEGER}
and resource_type = #{type}
and status = 1
</select>
<update
id=
"delResource"
>
update tab_sys_union_enterprise_resource
set status=0
where union_id = #{unionId,jdbcType=INTEGER}
and enterprise_id= #{enterpriseId}
</update>
</mapper>
\ No newline at end of file
gic-platform-auth-web/src/main/java/com/gic/auth/web/controller/UnionEnterpriseController.java
View file @
679eb1c7
package
com
.
gic
.
auth
.
web
.
controller
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.auth.dto.AuthCodeDTO
;
import
com.gic.auth.dto.UnionEnterpriseDTO
;
import
com.gic.auth.service.AuthCodeApiService
;
import
com.gic.auth.service.UnionEnterpriseApiService
;
import
com.gic.auth.web.qo.UnionEnterpriseQO
;
import
com.gic.commons.util.EntityUtil
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.enterprise.error.ErrorCode
;
import
com.gic.enterprise.response.EnterpriseRestResponse
;
import
com.gic.enterprise.utils.UserDetailUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.Date
;
@RestController
public
class
UnionEnterpriseController
{
@Autowired
private
AuthCodeApiService
authCodeApiService
;
@Autowired
private
UnionEnterpriseApiService
unionEnterpriseApiService
;
@RequestMapping
(
"save-union-enterprise"
)
public
RestResponse
saveUnionEnterprise
(
UnionEnterpriseQO
unionEnterpriseQO
){
return
null
;
RestResponse
validateResult
=
this
.
validateAuthCode
(
unionEnterpriseQO
);
if
(
validateResult
!=
null
){
return
validateResult
;
}
Integer
enterpriseId
=
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
();
UnionEnterpriseDTO
enterpriseDTO
=
EntityUtil
.
changeEntityByJSON
(
UnionEnterpriseDTO
.
class
,
unionEnterpriseQO
);
enterpriseDTO
.
setEnterpriseId
(
enterpriseId
);
ServiceResponse
<
Integer
>
response
=
this
.
unionEnterpriseApiService
.
saveUnionEnterprise
(
enterpriseDTO
);
if
(
response
.
isSuccess
()){
return
RestResponse
.
success
(
response
.
getResult
());
}
return
EnterpriseRestResponse
.
failure
(
response
);
}
@RequestMapping
(
"union-enterprise-detail"
)
public
RestResponse
getUnionEnterpriseDetail
(
Integer
unionId
){
if
(
unionId
==
null
){
return
EnterpriseRestResponse
.
failure
(
ErrorCode
.
MISS_PARAMETER
);
}
ServiceResponse
<
UnionEnterpriseDTO
>
response
=
this
.
unionEnterpriseApiService
.
getUnionEnterpriseById
(
unionId
);
if
(
response
.
isSuccess
()){
return
RestResponse
.
success
(
response
.
getResult
());
}
return
EnterpriseRestResponse
.
failure
(
response
);
}
@RequestMapping
(
"del-union-enterprise"
)
public
RestResponse
delUnionEnterprise
(
Integer
unionId
){
if
(
unionId
==
null
){
return
EnterpriseRestResponse
.
failure
(
ErrorCode
.
MISS_PARAMETER
);
}
Integer
enterpriseId
=
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
();
ServiceResponse
<
Integer
>
response
=
this
.
unionEnterpriseApiService
.
delUnionEnterprise
(
unionId
,
enterpriseId
);
if
(
response
.
isSuccess
()){
return
RestResponse
.
success
(
response
.
getResult
());
}
return
EnterpriseRestResponse
.
failure
(
response
);
}
private
RestResponse
validateAuthCode
(
UnionEnterpriseQO
unionEnterpriseQO
){
ServiceResponse
<
AuthCodeDTO
>
authCode
=
this
.
authCodeApiService
.
getAuthCode
(
unionEnterpriseQO
.
getAuthCodeId
());
if
(
authCode
.
isSuccess
()){
AuthCodeDTO
authCodeDTO
=
authCode
.
getResult
();
if
(
authCodeDTO
!=
null
){
if
(
authCodeDTO
.
getStatus
()
==
0
){
return
EnterpriseRestResponse
.
failure
(
ErrorCode
.
AUTHCODE_USED
);
}
if
(
authCodeDTO
.
getExpirationTime
().
before
(
new
Date
())){
return
EnterpriseRestResponse
.
failure
(
ErrorCode
.
AUTHCODE_EXPIRE
);
}
if
(!
authCodeDTO
.
getAuthCode
().
equals
(
unionEnterpriseQO
.
getAuthCode
())){
return
EnterpriseRestResponse
.
failure
(
ErrorCode
.
AUTHCODE_MISTAKE
);
}
}
else
{
return
EnterpriseRestResponse
.
failure
(
ErrorCode
.
AUTHCODE_ERR
);
}
}
else
{
EnterpriseRestResponse
.
failure
(
ErrorCode
.
AUTHCODE_ERR
);
}
return
null
;
}
}
gic-platform-auth-web/src/main/java/com/gic/auth/web/qo/UnionEnterpriseQO.java
View file @
679eb1c7
...
...
@@ -6,12 +6,13 @@ public class UnionEnterpriseQO implements Serializable {
private
Integer
unionEnterpriseId
;
private
String
unionEnterpriseName
;
private
String
authCode
;
private
Long
memberCardResource
;
private
Long
fwhResource
;
private
Long
appletResource
;
private
Long
storeResource
;
private
Long
goodsResource
;
private
Long
memberCardResource
Id
;
private
Long
fwhResource
Id
;
private
Long
appletResource
Id
;
private
Long
storeResource
Id
;
private
Long
goodsResource
Id
;
private
Integer
authCodeId
;
private
Integer
unionId
;
public
Integer
getUnionEnterpriseId
()
{
return
unionEnterpriseId
;
...
...
@@ -37,51 +38,59 @@ public class UnionEnterpriseQO implements Serializable {
this
.
authCode
=
authCode
;
}
public
Long
getMemberCardResource
()
{
return
memberCardResource
;
public
Integer
getAuthCodeId
()
{
return
authCodeId
;
}
public
void
set
MemberCardResource
(
Long
memberCardResource
)
{
this
.
memberCardResource
=
memberCardResource
;
public
void
set
AuthCodeId
(
Integer
authCodeId
)
{
this
.
authCodeId
=
authCodeId
;
}
public
Long
getFwhResource
()
{
return
fwhResource
;
public
Integer
getUnionId
()
{
return
unionId
;
}
public
void
set
FwhResource
(
Long
fwhResource
)
{
this
.
fwhResource
=
fwhResource
;
public
void
set
UnionId
(
Integer
unionId
)
{
this
.
unionId
=
unionId
;
}
public
Long
get
AppletResource
()
{
return
appletResource
;
public
Long
get
MemberCardResourceId
()
{
return
memberCardResourceId
;
}
public
void
set
AppletResource
(
Long
appletResource
)
{
this
.
appletResource
=
appletResource
;
public
void
set
MemberCardResourceId
(
Long
memberCardResourceId
)
{
this
.
memberCardResourceId
=
memberCardResourceId
;
}
public
Long
get
StoreResource
()
{
return
storeResource
;
public
Long
get
FwhResourceId
()
{
return
fwhResourceId
;
}
public
void
set
StoreResource
(
Long
storeResource
)
{
this
.
storeResource
=
storeResource
;
public
void
set
FwhResourceId
(
Long
fwhResourceId
)
{
this
.
fwhResourceId
=
fwhResourceId
;
}
public
Long
get
GoodsResource
()
{
return
goodsResource
;
public
Long
get
AppletResourceId
()
{
return
appletResourceId
;
}
public
void
set
GoodsResource
(
Long
goodsResource
)
{
this
.
goodsResource
=
goodsResource
;
public
void
set
AppletResourceId
(
Long
appletResourceId
)
{
this
.
appletResourceId
=
appletResourceId
;
}
public
Integer
getAuthCod
eId
()
{
return
authCod
eId
;
public
Long
getStoreResourc
eId
()
{
return
storeResourc
eId
;
}
public
void
setAuthCodeId
(
Integer
authCodeId
)
{
this
.
authCodeId
=
authCodeId
;
public
void
setStoreResourceId
(
Long
storeResourceId
)
{
this
.
storeResourceId
=
storeResourceId
;
}
public
Long
getGoodsResourceId
()
{
return
goodsResourceId
;
}
public
void
setGoodsResourceId
(
Long
goodsResourceId
)
{
this
.
goodsResourceId
=
goodsResourceId
;
}
}
gic-platform-auth-web/src/main/resources/dubbo-gic-platform-auth-web.xml
View file @
679eb1c7
...
...
@@ -42,5 +42,5 @@
<!--资源组-->
<dubbo:reference
interface=
"com.gic.auth.service.ResourceApiService"
id=
"resourceApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.auth.service.AuthCodeApiService"
id=
"authCodeApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.auth.service.UnionEnterpriseApiService"
id=
"unionEnterpriseApiService"
timeout=
"6000"
/>
</beans>
\ No newline at end of file
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