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
4296d25e
Commit
4296d25e
authored
Jun 11, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
f6a8c48d
d65f498d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
103 additions
and
2 deletions
+103
-2
ResourceController.java
.../java/com/gic/auth/web/controller/ResourceController.java
+6
-2
EnterpriseSmsSignVO.java
...rc/main/java/com/gic/auth/web/vo/EnterpriseSmsSignVO.java
+97
-0
No files found.
gic-platform-auth-web/src/main/java/com/gic/auth/web/controller/ResourceController.java
View file @
4296d25e
...
@@ -68,9 +68,13 @@ public class ResourceController {
...
@@ -68,9 +68,13 @@ public class ResourceController {
@RequestMapping
(
"/list-sms-sign"
)
@RequestMapping
(
"/list-sms-sign"
)
public
RestResponse
listSmsSign
(
String
search
)
{
public
RestResponse
listSmsSign
(
String
search
)
{
ServiceResponse
<
List
<
EnterpriseSmsSignDTO
>>
serviceR
esponse
=
smsApiService
ServiceResponse
<
List
<
EnterpriseSmsSignDTO
>>
r
esponse
=
smsApiService
.
listSignByEnterprise
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
(),
search
);
.
listSignByEnterprise
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
(),
search
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
if
(
response
.
isSuccess
())
{
return
RestResponse
.
success
(
EntityUtil
.
changeEntityListByJSON
(
EnterpriseSmsSignVO
.
class
,
response
.
getResult
()));
}
else
{
return
RestResponse
.
failure
(
response
.
getCode
(),
response
.
getMessage
());
}
}
}
@RequestMapping
(
"/save-resource"
)
@RequestMapping
(
"/save-resource"
)
...
...
gic-platform-auth-web/src/main/java/com/gic/auth/web/vo/EnterpriseSmsSignVO.java
0 → 100644
View file @
4296d25e
package
com
.
gic
.
auth
.
web
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @author zhiwj
* @Description:
* @date 2020-06-10 16:37
*/
public
class
EnterpriseSmsSignVO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
664328628311397146L
;
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
)
private
Long
signId
;
private
Integer
enterpriseId
;
private
String
smsSignId
;
private
String
smsSignText
;
private
String
smsAppid
;
private
Integer
useType
;
private
Date
createTime
;
private
Date
updateTime
;
private
Integer
deleteFlag
;
public
Long
getSignId
()
{
return
signId
;
}
public
void
setSignId
(
Long
signId
)
{
this
.
signId
=
signId
;
}
public
Integer
getEnterpriseId
()
{
return
enterpriseId
;
}
public
void
setEnterpriseId
(
Integer
enterpriseId
)
{
this
.
enterpriseId
=
enterpriseId
;
}
public
String
getSmsSignId
()
{
return
smsSignId
;
}
public
void
setSmsSignId
(
String
smsSignId
)
{
this
.
smsSignId
=
smsSignId
;
}
public
String
getSmsSignText
()
{
return
smsSignText
;
}
public
void
setSmsSignText
(
String
smsSignText
)
{
this
.
smsSignText
=
smsSignText
;
}
public
String
getSmsAppid
()
{
return
smsAppid
;
}
public
void
setSmsAppid
(
String
smsAppid
)
{
this
.
smsAppid
=
smsAppid
;
}
public
Integer
getUseType
()
{
return
useType
;
}
public
void
setUseType
(
Integer
useType
)
{
this
.
useType
=
useType
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Date
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
public
Integer
getDeleteFlag
()
{
return
deleteFlag
;
}
public
void
setDeleteFlag
(
Integer
deleteFlag
)
{
this
.
deleteFlag
=
deleteFlag
;
}
}
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