记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
0b7d35b2
Commit
0b7d35b2
authored
Jun 07, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 参数验证
parent
155a09db
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
PayOrderParam.java
.../com/liquidnet/service/kylin/dto/param/PayOrderParam.java
+1
-6
liquidnet-service-kylin-dev.yml
...s-config/liquidnet-config/liquidnet-service-kylin-dev.yml
+1
-1
No files found.
liquidnet-bus-api/liquidnet-service-kylin-api/src/main/java/com/liquidnet/service/kylin/dto/param/PayOrderParam.java
View file @
0b7d35b2
...
@@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModelProperty;
...
@@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModelProperty;
import
lombok.Builder
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.Max
;
import
javax.validation.constraints.Min
;
import
javax.validation.constraints.Min
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
import
java.util.List
;
...
@@ -28,12 +29,8 @@ public class PayOrderParam {
...
@@ -28,12 +29,8 @@ public class PayOrderParam {
// @NotNull(message = "必传")
// @NotNull(message = "必传")
// private Integer isStudent;
// private Integer isStudent;
@ApiModelProperty
(
value
=
"是否电子票"
)
@ApiModelProperty
(
value
=
"是否电子票"
)
@Min
(
0
)
@Min
(
1
)
private
Integer
isElectronic
;
private
Integer
isElectronic
;
@ApiModelProperty
(
value
=
"是否快递票"
)
@ApiModelProperty
(
value
=
"是否快递票"
)
@Min
(
0
)
@Min
(
1
)
private
Integer
isExpress
;
private
Integer
isExpress
;
@ApiModelProperty
(
value
=
"收货地址id"
)
@ApiModelProperty
(
value
=
"收货地址id"
)
...
@@ -45,8 +42,6 @@ public class PayOrderParam {
...
@@ -45,8 +42,6 @@ public class PayOrderParam {
private
String
agentId
;
private
String
agentId
;
@ApiModelProperty
(
value
=
"快递类型 1寄付 2到付"
)
@ApiModelProperty
(
value
=
"快递类型 1寄付 2到付"
)
@NotNull
(
message
=
"必传"
)
@NotNull
(
message
=
"必传"
)
@Min
(
0
)
@Min
(
1
)
private
Integer
expressType
;
private
Integer
expressType
;
...
...
liquidnet-bus-config/liquidnet-config/liquidnet-service-kylin-dev.yml
View file @
0b7d35b2
...
@@ -22,7 +22,7 @@ liquidnet:
...
@@ -22,7 +22,7 @@ liquidnet:
url-pay
:
url-pay
:
pay
:
"
http://testpay.zhengzai.tv/"
pay
:
"
http://testpay.zhengzai.tv/"
check
:
"
http://testpay.zhengzai.tv/order/verify"
check
:
"
http://testpay.zhengzai.tv/order/verify"
localUrl
:
"
http
s://
zuul.zhengzai.tv/kylin/order/syncOrder"
localUrl
:
"
http
://dev
zuul.zhengzai.tv/kylin/order/syncOrder"
#以下为spring各环境个性配置
#以下为spring各环境个性配置
spring
:
spring
:
...
...
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