Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
19588ed1
Commit
19588ed1
authored
Nov 01, 2018
by
songxiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.89.173/rays/pcloud-common-parent.git
parents
025a5b73
39148d82
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
434 additions
and
0 deletions
+434
-0
OrderParamForApp.java
...src/main/java/com/pcloud/common/dto/OrderParamForApp.java
+13
-0
OrderParamForLive.java
...rc/main/java/com/pcloud/common/dto/OrderParamForLive.java
+28
-0
PayParamVO.java
.../src/main/java/com/pcloud/common/trade/vo/PayParamVO.java
+317
-0
TargetIdAndTypeVO.java
...in/java/com/pcloud/common/trade/vo/TargetIdAndTypeVO.java
+76
-0
No files found.
pcloud-common/src/main/java/com/pcloud/common/dto/OrderParamForApp.java
0 → 100644
View file @
19588ed1
package
com
.
pcloud
.
common
.
dto
;
/**
* Created by ${user} on ${date}
*/
import
java.io.Serializable
;
/**
* @author TianChao
* @date 2018/6/22 11:04
*/
public
class
OrderParamForApp
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
8010969876295649975L
;
}
pcloud-common/src/main/java/com/pcloud/common/dto/OrderParamForLive.java
0 → 100644
View file @
19588ed1
package
com
.
pcloud
.
common
.
dto
;
/**
* Created by ${user} on ${date}
*/
/**
* @author TianChao
* @date 2018/6/22 11:04
*/
public
class
OrderParamForLive
extends
OrderParamForApp
{
private
static
final
long
serialVersionUID
=
-
2221916506871980562L
;
private
Integer
isSuperMerchant
;
public
Integer
getIsSuperMerchant
()
{
return
isSuperMerchant
;
}
public
void
setIsSuperMerchant
(
Integer
isSuperMerchant
)
{
this
.
isSuperMerchant
=
isSuperMerchant
;
}
@Override
public
String
toString
()
{
return
"OrderParamForLive{"
+
"isSuperMerchant="
+
isSuperMerchant
+
'}'
;
}
}
pcloud-common/src/main/java/com/pcloud/common/trade/vo/PayParamVO.java
0 → 100644
View file @
19588ed1
package
com
.
pcloud
.
common
.
trade
.
vo
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Map
;
/**
* @描述:问答支付dto
* @作者:TianChao
* @创建时间:2016年10月19日 上午10:26:11
* @版本:1.0
*/
@ApiModel
(
description
=
"立即付款dto"
)
public
class
PayParamVO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1424201849099702707L
;
@ApiModelProperty
(
value
=
"商户id"
,
dataType
=
"Long"
)
private
Long
merchantId
;
/**
* 商品标识
*/
@ApiModelProperty
(
value
=
"商品标识"
,
dataType
=
"Long"
)
private
Long
productId
;
/**
* 商品数量
*/
@ApiModelProperty
(
value
=
"商品数量"
,
dataType
=
"Integer"
)
private
Integer
quantity
;
/**
* 规格id
*/
@ApiModelProperty
(
value
=
"规格id"
,
dataType
=
"Long"
)
private
Long
specId
;
@ApiModelProperty
(
value
=
"应用id"
,
dataType
=
"Long"
)
private
Long
appId
;
@ApiModelProperty
(
value
=
"地址id"
,
dataType
=
"Long"
)
private
Long
addressId
;
@ApiModelProperty
(
value
=
"isInvoice"
,
dataType
=
"int"
)
private
int
isInvoice
;
@ApiModelProperty
(
value
=
"发票内容"
,
dataType
=
"String"
)
private
String
invoiceContent
;
@ApiModelProperty
(
value
=
"发票抬头"
,
dataType
=
"String"
)
private
String
invoiceHeader
;
/**
* 发票抬头类型(0是个人,1是企业)
*/
@ApiModelProperty
(
value
=
"发票抬头类型(0是个人,1是企业)"
,
dataType
=
"Integer"
)
private
Integer
invoiceHeaderType
;
/**
* 证件号(公司为企业税号,个人为身份证号)
*/
@ApiModelProperty
(
value
=
"证件号(公司为企业税号,个人为身份证号)"
,
dataType
=
"String"
)
private
String
invoiceCredentialNum
;
@ApiModelProperty
(
value
=
"购物码"
,
dataType
=
"String"
)
private
String
buyCode
;
@ApiModelProperty
(
value
=
"电话"
,
dataType
=
"String"
)
private
String
phone
;
@ApiModelProperty
(
value
=
"isAskMore"
,
dataType
=
"int"
)
private
int
isAskMore
;
/**
* 购买服务人
*/
@ApiModelProperty
(
value
=
"购买服务人"
,
dataType
=
"String"
)
private
String
serviceName
;
/**
* 服务电话
*/
@ApiModelProperty
(
value
=
"服务电话"
,
dataType
=
"String"
)
private
String
servicePhone
;
/**
* 服务者邮箱
*/
@ApiModelProperty
(
value
=
"服务者邮箱"
,
dataType
=
"String"
)
private
String
email
;
private
BigDecimal
price
;
private
Long
adviserId
;
private
Long
sceneId
;
private
Map
<
String
,
Object
>
paramForApp
;
private
int
hasOwnPrice
;
private
BigDecimal
dealPrice
;
private
Integer
paymentSource
;
public
Integer
getPaymentSource
()
{
return
paymentSource
;
}
public
void
setPaymentSource
(
Integer
paymentSource
)
{
this
.
paymentSource
=
paymentSource
;
}
public
BigDecimal
getDealPrice
()
{
return
dealPrice
;
}
public
void
setDealPrice
(
BigDecimal
dealPrice
)
{
this
.
dealPrice
=
dealPrice
;
}
public
int
getHasOwnPrice
()
{
return
hasOwnPrice
;
}
public
void
setHasOwnPrice
(
int
hasOwnPrice
)
{
this
.
hasOwnPrice
=
hasOwnPrice
;
}
public
Map
<
String
,
Object
>
getParamForApp
()
{
return
paramForApp
;
}
public
void
setParamForApp
(
Map
<
String
,
Object
>
paramForApp
)
{
this
.
paramForApp
=
paramForApp
;
}
public
Long
getAdviserId
()
{
return
adviserId
;
}
public
void
setAdviserId
(
Long
adviserId
)
{
this
.
adviserId
=
adviserId
;
}
public
Long
getSceneId
()
{
return
sceneId
;
}
public
void
setSceneId
(
Long
sceneId
)
{
this
.
sceneId
=
sceneId
;
}
public
BigDecimal
getPrice
()
{
return
price
;
}
public
void
setPrice
(
BigDecimal
price
)
{
this
.
price
=
price
;
}
public
String
getEmail
()
{
return
email
;
}
public
void
setEmail
(
String
email
)
{
this
.
email
=
email
;
}
public
String
getServiceName
()
{
return
serviceName
;
}
public
void
setServiceName
(
String
serviceName
)
{
this
.
serviceName
=
serviceName
;
}
public
String
getServicePhone
()
{
return
servicePhone
;
}
public
void
setServicePhone
(
String
servicePhone
)
{
this
.
servicePhone
=
servicePhone
;
}
public
int
getIsAskMore
()
{
return
isAskMore
;
}
public
void
setIsAskMore
(
int
isAskMore
)
{
this
.
isAskMore
=
isAskMore
;
}
public
Integer
getInvoiceHeaderType
()
{
return
invoiceHeaderType
;
}
public
void
setInvoiceHeaderType
(
Integer
invoiceHeaderType
)
{
this
.
invoiceHeaderType
=
invoiceHeaderType
;
}
public
String
getInvoiceCredentialNum
()
{
return
invoiceCredentialNum
;
}
public
void
setInvoiceCredentialNum
(
String
invoiceCredentialNum
)
{
this
.
invoiceCredentialNum
=
invoiceCredentialNum
;
}
public
String
getPhone
()
{
return
phone
;
}
public
void
setPhone
(
String
phone
)
{
this
.
phone
=
phone
;
}
public
String
getBuyCode
()
{
return
buyCode
;
}
public
void
setBuyCode
(
String
buyCode
)
{
this
.
buyCode
=
buyCode
;
}
public
int
getIsInvoice
()
{
return
isInvoice
;
}
public
void
setIsInvoice
(
int
isInvoice
)
{
this
.
isInvoice
=
isInvoice
;
}
public
String
getInvoiceContent
()
{
return
invoiceContent
;
}
public
void
setInvoiceContent
(
String
invoiceContent
)
{
this
.
invoiceContent
=
invoiceContent
;
}
public
String
getInvoiceHeader
()
{
return
invoiceHeader
;
}
public
void
setInvoiceHeader
(
String
invoiceHeader
)
{
this
.
invoiceHeader
=
invoiceHeader
;
}
public
Long
getAddressId
()
{
return
addressId
;
}
public
void
setAddressId
(
Long
addressId
)
{
this
.
addressId
=
addressId
;
}
public
Long
getAppId
()
{
return
appId
;
}
public
void
setAppId
(
Long
appId
)
{
this
.
appId
=
appId
;
}
public
Long
getMerchantId
()
{
return
merchantId
;
}
public
void
setMerchantId
(
Long
merchantId
)
{
this
.
merchantId
=
merchantId
;
}
public
Long
getProductId
()
{
return
productId
;
}
public
void
setProductId
(
Long
productId
)
{
this
.
productId
=
productId
;
}
public
Integer
getQuantity
()
{
return
quantity
;
}
public
void
setQuantity
(
Integer
quantity
)
{
this
.
quantity
=
quantity
;
}
public
Long
getSpecId
()
{
return
specId
;
}
public
void
setSpecId
(
Long
specId
)
{
this
.
specId
=
specId
;
}
@Override
public
String
toString
()
{
return
"PayParamVO{"
+
"merchantId="
+
merchantId
+
", productId="
+
productId
+
", quantity="
+
quantity
+
", specId="
+
specId
+
", appId="
+
appId
+
", addressId="
+
addressId
+
", isInvoice="
+
isInvoice
+
", invoiceContent='"
+
invoiceContent
+
'\''
+
", invoiceHeader='"
+
invoiceHeader
+
'\''
+
", invoiceHeaderType="
+
invoiceHeaderType
+
", invoiceCredentialNum='"
+
invoiceCredentialNum
+
'\''
+
", buyCode='"
+
buyCode
+
'\''
+
", phone='"
+
phone
+
'\''
+
", isAskMore="
+
isAskMore
+
", serviceName='"
+
serviceName
+
'\''
+
", servicePhone='"
+
servicePhone
+
'\''
+
", email='"
+
email
+
'\''
+
", price="
+
price
+
", adviserId="
+
adviserId
+
", sceneId="
+
sceneId
+
", paramForApp="
+
paramForApp
+
", hasOwnPrice="
+
hasOwnPrice
+
", dealPrice="
+
dealPrice
+
", paymentSource="
+
paymentSource
+
'}'
;
}
}
pcloud-common/src/main/java/com/pcloud/common/trade/vo/TargetIdAndTypeVO.java
0 → 100644
View file @
19588ed1
package
com
.
pcloud
.
common
.
trade
.
vo
;
/**
* Created by ${user} on ${date}
*/
import
java.io.Serializable
;
/**
* @author TianChao
* @date 2018/10/23 10:43
*/
public
class
TargetIdAndTypeVO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1581040394497248116L
;
private
Long
targetId
;
private
String
targetType
;
private
Long
wechatUserId
;
private
boolean
buyOneBook
;
private
int
paymentSource
;
public
int
getPaymentSource
()
{
return
paymentSource
;
}
public
void
setPaymentSource
(
int
paymentSource
)
{
this
.
paymentSource
=
paymentSource
;
}
public
Long
getWechatUserId
()
{
return
wechatUserId
;
}
public
void
setWechatUserId
(
Long
wechatUserId
)
{
this
.
wechatUserId
=
wechatUserId
;
}
public
boolean
isBuyOneBook
()
{
return
buyOneBook
;
}
public
void
setBuyOneBook
(
boolean
buyOneBook
)
{
this
.
buyOneBook
=
buyOneBook
;
}
public
Long
getTargetId
()
{
return
targetId
;
}
public
void
setTargetId
(
Long
targetId
)
{
this
.
targetId
=
targetId
;
}
public
String
getTargetType
()
{
return
targetType
;
}
public
void
setTargetType
(
String
targetType
)
{
this
.
targetType
=
targetType
;
}
@Override
public
String
toString
()
{
return
"TargetIdAndTypeVO{"
+
"targetId="
+
targetId
+
", targetType='"
+
targetType
+
'\''
+
", wechatUserId="
+
wechatUserId
+
", buyOneBook="
+
buyOneBook
+
", paymentSource="
+
paymentSource
+
'}'
;
}
}
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