mirror of
https://github.com/jeequan/jeepay
synced 2024-11-17 23:08:03 +08:00
接口加入商户应用ID ,商户应用私钥信息;
This commit is contained in:
parent
43587c2c13
commit
bc3a2fa5cd
@ -160,6 +160,7 @@ CREATE TABLE `t_mch_app` (
|
|||||||
`app_name` varchar(64) NOT NULL DEFAULT '' COMMENT '应用名称',
|
`app_name` varchar(64) NOT NULL DEFAULT '' COMMENT '应用名称',
|
||||||
`mch_no` VARCHAR(64) NOT NULL COMMENT '商户号',
|
`mch_no` VARCHAR(64) NOT NULL COMMENT '商户号',
|
||||||
`state` TINYINT(6) NOT NULL DEFAULT 1 COMMENT '应用状态: 0-停用, 1-正常',
|
`state` TINYINT(6) NOT NULL DEFAULT 1 COMMENT '应用状态: 0-停用, 1-正常',
|
||||||
|
`app_secret` VARCHAR(128) NOT NULL COMMENT '应用私钥',
|
||||||
`remark` varchar(128) DEFAULT NULL COMMENT '备注',
|
`remark` varchar(128) DEFAULT NULL COMMENT '备注',
|
||||||
`created_uid` BIGINT(20) COMMENT '创建者用户ID',
|
`created_uid` BIGINT(20) COMMENT '创建者用户ID',
|
||||||
`created_by` VARCHAR(64) COMMENT '创建者姓名',
|
`created_by` VARCHAR(64) COMMENT '创建者姓名',
|
||||||
|
@ -53,6 +53,11 @@ public class MchApp extends BaseModel {
|
|||||||
*/
|
*/
|
||||||
private Byte state;
|
private Byte state;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 应用私钥
|
||||||
|
*/
|
||||||
|
private String appSecret;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 备注
|
* 备注
|
||||||
*/
|
*/
|
||||||
@ -78,5 +83,4 @@ public class MchApp extends BaseModel {
|
|||||||
*/
|
*/
|
||||||
private Date updatedAt;
|
private Date updatedAt;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -42,6 +42,10 @@ public class UnifiedOrderRQ extends AbstractRQ {
|
|||||||
@NotBlank(message="商户号不能为空")
|
@NotBlank(message="商户号不能为空")
|
||||||
private String mchNo;
|
private String mchNo;
|
||||||
|
|
||||||
|
/** 商户应用ID **/
|
||||||
|
@NotBlank(message="商户应用ID不能为空")
|
||||||
|
private String appId;
|
||||||
|
|
||||||
/** 商户订单号 **/
|
/** 商户订单号 **/
|
||||||
@NotBlank(message="商户订单号不能为空")
|
@NotBlank(message="商户订单号不能为空")
|
||||||
private String mchOrderNo;
|
private String mchOrderNo;
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
<result column="app_name" property="appName" />
|
<result column="app_name" property="appName" />
|
||||||
<result column="mch_no" property="mchNo" />
|
<result column="mch_no" property="mchNo" />
|
||||||
<result column="state" property="state" />
|
<result column="state" property="state" />
|
||||||
|
<result column="app_secret" property="appSecret" />
|
||||||
<result column="remark" property="remark" />
|
<result column="remark" property="remark" />
|
||||||
<result column="created_uid" property="createdUid" />
|
<result column="created_uid" property="createdUid" />
|
||||||
<result column="created_by" property="createdBy" />
|
<result column="created_by" property="createdBy" />
|
||||||
|
Loading…
Reference in New Issue
Block a user