新增V5自助补卡接口说明
diff --git "a/source/_posts/\344\270\200\345\215\241\351\200\232v5\347\263\273\347\273\237\345\272\224\347\224\250\346\216\245\345\217\243\346\226\207\346\241\243.md" "b/source/_posts/\344\270\200\345\215\241\351\200\232v5\347\263\273\347\273\237\345\272\224\347\224\250\346\216\245\345\217\243\346\226\207\346\241\243.md"
index ce2a4f6..2725ce7 100644
--- "a/source/_posts/\344\270\200\345\215\241\351\200\232v5\347\263\273\347\273\237\345\272\224\347\224\250\346\216\245\345\217\243\346\226\207\346\241\243.md"
+++ "b/source/_posts/\344\270\200\345\215\241\351\200\232v5\347\263\273\347\273\237\345\272\224\347\224\250\346\216\245\345\217\243\346\226\207\346\241\243.md"
@@ -1454,6 +1454,230 @@
 | --- | --- | --- |
 | retcode | String | 返回码,0-成功,其他失败 |
 | retmsg | String | 返回信息 |
+
+
+#6 自助补卡接口
+## 6.0 初始化 ##
+
+**请求URL:**
+
+- `https://ip:port/epayapi/services/consume/zzsb/init`
+
+**请求方式/格式:** 
+
+- POST
+- application/x-www-form-urlencoded
+
+**请求参数:**
+
+| 参数名 | 类型 | 说明 |
+| --- | --- | --- |
+| idno | String | 证件号 |
+| transname | String |'补办' 或 'NETCARDRENEW' 二选一。('NETCARDRENEW'表费用从账户里扣,会判断余额是否足够)|
+| app_id | String | 应用ID |
+| term_id| String | 设备终端号或物理ID |
+| timestamp | String | 时间戳 ‘yyyyMMddHHmmss’ |
+| sign | String | 签名 |
+| sign_method | String | 签名方法 |
+
+
+**返回参数说明:**
+
+| 参数名 | 类型 | 说明 |
+| --- | --- | --- |
+| oldcardno | Integer | 老卡号 |
+| feeamt | Integer | 补办费用(金额:分) |
+|expiredate|String|卡有效期|
+|stuempno|String|学工号|
+|custname|String|姓名|
+|feetype|Integer|收费类别|
+|custtype|Integer|客户类别|
+|custtypename|String|客户类别名称|
+|dept|String|部门名称|
+|classname|String|班级名称|
+
+**返回示例:**
+
+- 成功
+
+```json
+{
+    "retcode": "0",
+    "retmsg": "成功",
+    “oldcardno”:"43",
+    "feeamt":2000,
+    ...
+}
+```
+
+- 失败
+
+```json
+{
+    "retcode": "99",
+    "retmsg": "缴费流水已被冲正"
+}
+
+```
+
+
+## 6.1 补办请求 ##
+
+**请求URL:**
+
+- `https://ip:port/epayapi/services/consume/zzsb/renewcard`
+
+**请求方式/格式:** 
+
+- POST
+- application/x-www-form-urlencoded
+
+**请求参数:**
+
+| 参数名 | 类型 | 说明 |
+| --- | --- | --- |
+| operid | String | 操作员ID |
+| opercode | String |操作员代码(与operid二选一)|
+| termid | String | 终端ID |
+| devphyid | String | 终端物理ID (与termid二选一)|
+| oldcardno | String | 老卡号 |
+| newcardphyid | String | 新卡物理ID |
+| cardphytypecode | String | 新卡物理类型 |
+| showcardno | String | 新卡显示卡号 |
+| transname | String | ’补办‘ 或 ’NETCARDRENEW‘ |
+| fundtype | String | 基金类型 1-现金;2-支票;3-经费本;6-费用从账户扣 |
+|feeamt| Integer | 补办费用 (金额:分)|
+| app_id | String | 应用ID |
+| term_id| String | 设备终端号或物理ID |
+| timestamp | String | 时间戳 ‘yyyyMMddHHmmss’ |
+| sign | String | 签名 |
+| sign_method | String | 签名方法 |
+
+
+**返回参数说明:**
+
+| 参数名 | 类型 | 说明 |
+| --- | --- | --- |
+| accdate | String | 记账日期|
+| refno | String | 参考号 |
+| feeamt | Integer |补办费用|
+| hostdate |String|主机日期|
+| hosttime |String|主机时间|
+|feetype|Integer|收费类别|
+| expiredate | String |卡有效期|
+| cardno | Integer |卡号|
+| cardtype | Integer |卡类型|
+|dept|String|部门名称|
+|classname|String|班级名称|
+| showcardno |String|显示卡号|
+| cardverno |String|卡版本号|
+| cardpwd |String|卡密码|
+| country | String |国籍|
+| nation | String |民族|
+| areacode | String |区域|
+| deptcode | String |部门|
+| custtype | String |客户类别|
+| custname | String |姓名|
+| stuempno | String |学工号|
+| idtype | String |证件类型|
+| idno | String |证件号|
+| sex | String |性别|
+| singlemaxamt | Integer | 单次消费限额(金额:分)|
+| daymaxamt | Integer | 日累计消费限额(金额:分)|
+| cardmode | String | 卡消费模式 |
+
+**返回示例:**
+
+- 成功
+
+```json
+{
+    "retcode": "0",
+    "retmsg": "成功",
+    “refno”:"201611112321140000234",
+    "feeamt":2000,
+    ...
+}
+```
+
+- 失败
+
+```json
+{
+    "retcode": "99",
+    "retmsg": "缴费流水已被冲正"
+}
+
+```
+
+## 6.2 补办确认 ##
+
+**请求URL:**
+
+- `https://ip:port/epayapi/services/consume/zzsb/renewcardconfirm`
+
+**请求方式/格式:** 
+
+- POST
+- application/x-www-form-urlencoded
+
+**请求参数:**
+
+| 参数名 | 类型 | 说明 |
+| --- | --- | --- |
+| operid | String | 操作员ID |
+| opercode | String |操作员代码(与operid二选一)|
+| termid | String | 终端ID |
+| devphyid | String | 终端物理ID (与termid二选一)|
+| refno | String | 参考号 |
+| isok | Boolean | 写卡成功标志 |
+| cardno | String | 新卡卡号 |
+| amount | Integer | 充值金额 (金额:分)|
+| app_id | String | 应用ID |
+| term_id| String | 设备终端号或物理ID |
+| timestamp | String | 时间戳 ‘yyyyMMddHHmmss’ |
+| sign | String | 签名 |
+| sign_method | String | 签名方法 |
+
+
+**返回参数说明:**
+
+| 参数名 | 类型 | 说明 |
+| --- | --- | --- |
+| nextoperseqno | String | 下笔操作员流水号|
+| nexttermseqno | String | 下笔终端流水号 |
+| dpsflag | Boolean |充值成功标志|
+| dpsmsg |String|充值返回信息|
+|dpsrefno| String|充值流水参考号|
+| dpsamt | Integer |实际充值金额(分)|
+| dpsfeeamt|Integer|充值收手续费金额(分)|
+
+**返回示例:**
+
+- 成功
+
+```json
+{
+    "retcode": "0",
+    "retmsg": "成功",
+    “refno”:"201611112321140000234",
+    "feeamt":2000,
+    ...
+}
+```
+
+- 失败
+
+```json
+{
+    "retcode": "99",
+    "retmsg": "缴费流水已被冲正"
+}
+
+```
+
+
+