<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td class="toptext"><p align="center">paycenter</td>
</tr>
</table>
<a name="header"> </a><ul>
<li><a href="#pay_card_base"><p class="normal">pay_card_base</a></li>
<li><a href="#pay_card_info"><p class="normal">pay_card_info</a></li>
<li><a href="#pay_card_media"><p class="normal">pay_card_media</a></li>
<li><a href="#pay_consume_deposit"><p class="normal">pay_consume_deposit</a></li>
<li><a href="#pay_consume_record"><p class="normal">pay_consume_record</a></li>
<li><a href="#pay_consume_trade"><p class="normal">pay_consume_trade</a></li>
<li><a href="#pay_consume_withdraw"><p class="normal">pay_consume_withdraw</a></li>
<li><a href="#pay_message_template"><p class="normal">pay_message_template</a></li>
<li><a href="#pay_order_state"><p class="normal">pay_order_state</a></li>
<li><a href="#pay_payment_channel"><p class="normal">pay_payment_channel</a></li>
<li><a href="#pay_record_state"><p class="normal">pay_record_state</a></li>
<li><a href="#pay_service_fee"><p class="normal">pay_service_fee</a></li>
<li><a href="#pay_trade_mode"><p class="normal">pay_trade_mode</a></li>
<li><a href="#pay_trade_type"><p class="normal">pay_trade_type</a></li>
<li><a href="#pay_transfer_money"><p class="normal">pay_transfer_money</a></li>
<li><a href="#pay_union_order"><p class="normal">pay_union_order</a></li>
<li><a href="#pay_user_app"><p class="normal">pay_user_app</a></li>
<li><a href="#pay_user_bank_card"><p class="normal">pay_user_bank_card</a></li>
<li><a href="#pay_user_base"><p class="normal">pay_user_base</a></li>
<li><a href="#pay_user_info"><p class="normal">pay_user_info</a></li>
<li><a href="#pay_user_resource"><p class="normal">pay_user_resource</a></li>
<li><a href="#pay_web_config"><p class="normal">pay_web_config</a></li>
</ul>
<br class=page>
<p><a name='pay_card_base'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_card_base</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_id</td>
<td align="left" valign="top"><p class="normal">int(10)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡的id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">app_id</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">9999</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">app id : 9999 通用</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_name</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡名称</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_prize</td>
<td align="left" valign="top"><p class="normal">varchar(2000)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡片里面的奖品</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_desc</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡片描述</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_start_time</td>
<td align="left" valign="top"><p class="normal">date</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0000-00-00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡的有效开始时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_end_time</td>
<td align="left" valign="top"><p class="normal">date</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0000-00-00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡的有效结束时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_image</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡片图片网址</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_num</td>
<td align="left" valign="top"><p class="normal">int(255)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡片数量</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">Payceneter付款平台的卡片表,Payceneter付款平台添加卡片信息卡片的有效时间添加成功后,平台方可以将卡号卡密给用户,用户拿着卡号卡密可以对商城余额进行充值,可以抵扣支付金额</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_card_base</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">card_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">21</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_card_info'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_card_info</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_code</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡片激活码</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_password</td>
<td align="left" valign="top"><p class="normal">varchar(20)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡片密码</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_id</td>
<td align="left" valign="top"><p class="normal">int(10)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡片id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_fetch_time</td>
<td align="left" valign="top"><p class="normal">timestamp</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">领奖时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_media_id</td>
<td align="left" valign="top"><p class="normal">smallint(6)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">媒体id,参照base_card_media表</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">server_id</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">领卡人的服务器id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_id</td>
<td align="left" valign="top"><p class="normal">int(10)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_account</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">领卡人账号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_time</td>
<td align="left" valign="top"><p class="normal">timestamp</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">CURRENT_TIMESTAMP</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡牌生成时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_money</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">充值卡余额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_froze_money</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡冻结金额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">领卡人的信息表,对上述领卡人的信息与卡片绑定</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_card_info</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">card_code</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">1859</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_card_media'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_card_media</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_media_id</td>
<td align="left" valign="top"><p class="normal">mediumint(9)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡片的媒体id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_media_name</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卡片的媒体标题</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">卡片的展示信息,对应的媒体内容,待升级内容</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_card_media</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">card_media_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_consume_deposit'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_consume_deposit</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">deposit_trade_no</td>
<td align="left" valign="top"><p class="normal">varchar(64)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">deposit_buyer_id</td>
<td align="left" valign="top"><p class="normal">varchar(30)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">deposit_total_fee</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易金额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">deposit_pay_channel</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">充值的付款方式</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">deposit_gmt_create</td>
<td align="left" valign="top"><p class="normal">timestamp</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">CURRENT_TIMESTAMP</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易创建时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">deposit_gmt_payment</td>
<td align="left" valign="top"><p class="normal">datetime</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易付款时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">deposit_gmt_close</td>
<td align="left" valign="top"><p class="normal">datetime</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">deposit_trade_status</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易状态</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">deposit_return_trade_no</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">充值成功以后的流水</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">用户在付款paycenter客户端对于账户余额充值的流水账单,每进行一次账户余额充值操作,会增加一条流水,上述字段是增加流水的对应信息</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_consume_record'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_consume_record</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">consume_record_id</td>
<td align="left" valign="top"><p class="normal">bigint(20)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">auto_increment</td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易记录id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">order_id</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">商户订单id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_id</td>
<td align="left" valign="top"><p class="normal">int(10) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">所属用id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_nickname</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">昵称</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_money</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">金额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_date</td>
<td align="left" valign="top"><p class="normal">date</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">年-月-日</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_year</td>
<td align="left" valign="top"><p class="normal">smallint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">年</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_month</td>
<td align="left" valign="top"><p class="normal">tinyint(2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">月</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_day</td>
<td align="left" valign="top"><p class="normal">tinyint(2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">日</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_title</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">标题</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_desc</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">描述</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_time</td>
<td align="left" valign="top"><p class="normal">timestamp</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">CURRENT_TIMESTAMP</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">创建时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_type_id</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易类型</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_type</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">1-收款方 2-付款方</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_status</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">付款状态</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_payorder</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">实际支付单号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_paytime</td>
<td align="left" valign="top"><p class="normal">datetime</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">支付时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_delete</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">0未删除 1删除</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">credit_remain</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">白条剩余还款金额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">用户用自己的余额购买商品,扣除相对应的账户余额后,会增加一条流水单对于该账户余额减少的记录信息,上述对应扣除余额的流水单信息user_id代表用户id,可在pay_user_info表里找该用户的个人信息 order_id是订单id可在pay_consume_trade表里通过order_id字段一一对应查找相对应的订单信息 </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_consume_record</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">consume_record_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">8115</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_consume_trade'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_consume_trade</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">consume_trade_id</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易订单id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">order_id</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">商户订单id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">buyer_id</td>
<td align="left" valign="top"><p class="normal">int(10) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">买家id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">seller_id</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">卖家id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_user_id</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">付款人id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">order_state_id</td>
<td align="left" valign="top"><p class="normal">tinyint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">订单状态</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_type_id</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易类型</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">payment_channel_id</td>
<td align="left" valign="top"><p class="normal">tinyint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">MUL</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">支付渠道</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">app_id</td>
<td align="left" valign="top"><p class="normal">int(10) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">MUL</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">订单来源</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">server_id</td>
<td align="left" valign="top"><p class="normal">int(10) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">服务器id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_type</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">1:担保交易 2:直接交易</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">order_payment_amount</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">总付款额度 = trade_payment_amount + trade_payment_money + trade_payment_recharge_card + trade_payment_points</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_payment_amount</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">实付金额,在线支付金额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_payment_money</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">余额支付</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_payment_recharge_card</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">充值卡余额支付</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_payment_points</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">积分支付</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_discount</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">折扣优惠</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_commis_amount</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">佣金</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_commis_refund</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">退还佣金</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_refund_amount</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">订单退款</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_amount</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">总额虚拟的 = trade_order_amount + trade_discount</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_date</td>
<td align="left" valign="top"><p class="normal">date</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">年-月-日</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_year</td>
<td align="left" valign="top"><p class="normal">smallint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">年</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_month</td>
<td align="left" valign="top"><p class="normal">tinyint(2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">月</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_day</td>
<td align="left" valign="top"><p class="normal">tinyint(2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">日</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_title</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">标题</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_desc</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">描述</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_remark</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">备注</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_create_time</td>
<td align="left" valign="top"><p class="normal">timestamp</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">CURRENT_TIMESTAMP</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">创建时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_pay_time</td>
<td align="left" valign="top"><p class="normal">timestamp</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">付款时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_finish_time</td>
<td align="left" valign="top"><p class="normal">timestamp</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">结束时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_delete</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">是否删除</td>
</tr><tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">用户订单记录表,用户下单付款时产生此条支付数据,如果是商城用户端下单并支付的时候会产生此条订单,上面字段是支付的来源,方式,渠道做了区分</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_consume_trade</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">consume_trade_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">2771</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_consume_trade</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">company_id</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">payment_channel_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">4</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_consume_trade</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">company_id</td>
<td align="left" valign="top"><p class="normal">2</td>
<td align="left" valign="top"><p class="normal">server_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">4</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_consume_trade</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">app_id</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">app_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">2</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_consume_withdraw'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_consume_withdraw</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">id</td>
<td align="left" valign="top"><p class="normal">int(10)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">auto_increment</td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">ID</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_uid</td>
<td align="left" valign="top"><p class="normal">int(8)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">会员支付ID</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">orderid</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易明细ID</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">amount</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">总数</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">add_time</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">创建时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">censor</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">管理员</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">check_time</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">操作时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">is_succeed</td>
<td align="left" valign="top"><p class="normal">tinyint(2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">是否成功</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">bankflow</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">银行流水账号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">con</td>
<td align="left" valign="top"><p class="normal">text</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">描述</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">bank</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">银行</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">cardno</td>
<td align="left" valign="top"><p class="normal">varchar(32)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">cardname</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">supportTime</td>
<td align="left" valign="top"><p class="normal">int(6)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">fee</td>
<td align="left" valign="top"><p class="normal">float(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">remark</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">平台审核备注</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">余额提现的记录表是将余额提现到微信,支付宝,银行是系统会产生一条记录流水单,关于此笔金额的走向,是那个用户pay_uid,产生的提现订单号 orderid ,总钱数amount,如果提现到银行bank银行名称,cardno银行卡号,
Cardname持卡人姓名,fee提现手续费 is_succeed 审核状态该笔提现订单是否成功 remark提现备注
如提现到支付宝 withdraw_identity 为支付宝账户,微信就为微信账户,withdraw_name支付宝用户所属姓名</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_consume_withdraw</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">46</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_message_template'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_message_template</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">id</td>
<td align="left" valign="top"><p class="normal">int(10)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">code</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">name</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">title</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">主题</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">content_email</td>
<td align="left" valign="top"><p class="normal">text</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">邮件内容</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">type</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">0商家 1用户</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">is_phone</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">0关闭 1开启</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">is_email</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">0关闭 1开启</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">is_mail</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">0关闭 1开启</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">content_mail</td>
<td align="left" valign="top"><p class="normal">text</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">站内信内容</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">content_phone</td>
<td align="left" valign="top"><p class="normal">text</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">短信内容</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">force_phone</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">手机短信0不强制1强制</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">force_email</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">邮件0不强制1强制</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">force_mail</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">站内信0不强制1强制</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">mold</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">0常用提示 1订单提示 2卡券提示 3售后提示</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">信息模板表,信息模板的编号code,用户功能需要向客户端发送信息的代码上绑定相对应的编码,然后编辑信息模板按照编辑内容进行发送有3种方式,3个方式的状态,mold为功能性提示</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_message_template</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">8</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_order_state'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_order_state</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">order_state_id</td>
<td align="left" valign="top"><p class="normal">tinyint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">auto_increment</td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">状态id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">order_state_name</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">订单状态</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">order_state_text_1</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">order_state_text_2</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">order_state_text_3</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">order_state_remark</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">备注</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">支付系统的订单状态表,每一个状态数字代表一个订单状态order_state_text_对此订单状态的描述</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_order_state</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">order_state_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">7</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_payment_channel'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_payment_channel</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">payment_channel_id</td>
<td align="left" valign="top"><p class="normal">tinyint(4) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">auto_increment</td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">ID</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">payment_channel_code</td>
<td align="left" valign="top"><p class="normal">varchar(20)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">代码名称</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">payment_channel_name</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">支付名称</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">payment_channel_image</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">支付方式图片</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">payment_channel_config</td>
<td align="left" valign="top"><p class="normal">text</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">支付接口配置信息</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">payment_channel_status</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">接口状态</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">payment_channel_allow</td>
<td align="left" valign="top"><p class="normal">enum('pc','wap','both')</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">pc</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">类型</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">payment_channel_wechat</td>
<td align="left" valign="top"><p class="normal">tinyint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">微信中是否可以使用</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">payment_channel_enable</td>
<td align="left" valign="top"><p class="normal">tinyint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">是否启用</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">支付平台添加支付页面的支付方式例如支付宝和微信支付,payment_channel_code代表支付方式的编码,payment_channel_name付款方式的名称,例如支付宝、微信、支付宝电脑端、小程序支付,payment_channel_config每种支付方式的配置信息,例如在相对应的支付平台申请的支付账户和APPID</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_payment_channel</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">payment_channel_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">6</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_record_state'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_record_state</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_state_id</td>
<td align="left" valign="top"><p class="normal">tinyint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">状态id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_state_name</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易状态</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_state_text_1</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_state_text_2</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_state_text_3</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">record_state_remark</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">备注</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">交易状态表,每个数字对应每一项交易的状态,record_state_id状态数字id,record_state_name状态名称,record_state_text_对交易状态的描述</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_record_state</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">record_state_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">6</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_service_fee'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_service_fee</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">id</td>
<td align="left" valign="top"><p class="normal">int(6)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">auto_increment</td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">name</td>
<td align="left" valign="top"><p class="normal">varchar(100)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">fee_rates</td>
<td align="left" valign="top"><p class="normal">float(12,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">fee_min</td>
<td align="left" valign="top"><p class="normal">int(2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">fee_max</td>
<td align="left" valign="top"><p class="normal">int(2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr><tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">用户对于服务不同需求所以对应的收取费用name,提取需求的描述,fee_rates float收取的相应费用,fee_min最小收取的服务费,fee_max最大的收取的服务费用</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_service_fee</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">4</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_trade_mode'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_trade_mode</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_mode_id</td>
<td align="left" valign="top"><p class="normal">tinyint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">auto_increment</td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易方式id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_mode_name</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易方式名称</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_mode_text</td>
<td align="left" valign="top"><p class="normal">varchar(20)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易方式名称</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_mode_partner</td>
<td align="left" valign="top"><p class="normal">varchar(20)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">商户号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_mode_key</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">密钥</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_mode_sign</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">校验码</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_mode_image</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">支付方式图片</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_mode_remark</td>
<td align="left" valign="top"><p class="normal">varchar(200)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易方式备注</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">交易类型表,trade_mode_id交易数字ID,trade_mode_name交易类型编码,在代码中定义的交易常量trade_mode_text交易名称,交易接收方的账户,密钥,校验码信息</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_trade_mode</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">trade_mode_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">4</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_trade_type'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_trade_type</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_type_id</td>
<td align="left" valign="top"><p class="normal">tinyint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">auto_increment</td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">状态id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_type_name</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">订单状态</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_type_text</td>
<td align="left" valign="top"><p class="normal">varchar(20)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">名称</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_type_remark</td>
<td align="left" valign="top"><p class="normal">varchar(200)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">备注</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">订单状态表,在pay_consume_record交易记录表里的trade_type_id字段对应的状态信息在此表里进行信息展示</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_trade_type</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">trade_type_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">4</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_transfer_money'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_transfer_money</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">id</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">auto_increment</td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">from_user</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">发起转帐或红包的人</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">to_user</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">接收人</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">send_time</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">发送时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">receive_time</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">收到时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">money</td>
<td align="left" valign="top"><p class="normal">decimal(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">转了多少钱</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">status</td>
<td align="left" valign="top"><p class="normal">tinyint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">1为已收到,2为过期</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">txt</td>
<td align="left" valign="top"><p class="normal">text</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">注释</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">type</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">1红包 2 转帐</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">transaction_number</td>
<td align="left" valign="top"><p class="normal">char(20)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易单号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">转账和收红包记录表,记录相对应的金额,发接的信息人信息,收取状态status,交易单号transaction_number,时间</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_transfer_money</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">655</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_union_order'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_union_order</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">union_order_id</td>
<td align="left" valign="top"><p class="normal">varchar(20)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">编号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">inorder</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">合并订单编号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_title</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">商品名称 - 标题</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_payment_amount</td>
<td align="left" valign="top"><p class="normal">float(10,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">总价格</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">create_time</td>
<td align="left" valign="top"><p class="normal">datetime</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">创建时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">buyer_id</td>
<td align="left" valign="top"><p class="normal">int(12)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">买家ID</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_desc</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">描述</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">order_state_id</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">订单状态 1- 待付款状态</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_time</td>
<td align="left" valign="top"><p class="normal">datetime</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">支付时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">payment_channel_id</td>
<td align="left" valign="top"><p class="normal">tinyint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">支付渠道</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">app_id</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">订单来源</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">trade_type_id</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">交易类型</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">union_cards_pay_amount</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">购物卡支付金额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">union_cards_return_amount</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">购物卡退款金额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">union_money_pay_amount</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">预存款支付金额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">union_money_return_amount</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">预存款退款金额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">union_online_pay_amount</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">在线支付金额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal"> 支付订单记录表包括对已支付订单进行合并订单后共用一个支付单号进行统一付款,支付单号union_order_id,订单号(包括合并订单号)、notify_data支付回调参数例如微信支付是属于异步支付,支付成功后,微信会进行订单信息推送,会将推送的json 信息放在此字段,包括标准版预售的活动,会将预售给予的定金presale_deposit此次付款的金额进行记录,还有预售的尾款final_price,当参加后后续需要付款的金额会包括union_money_pay_amount支付金额里进行存储,剩余的尾款订单号presale_union_order_id也会加以存储</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_union_order</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">union_order_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">5949</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_user_app'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_user_app</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">app_id</td>
<td align="left" valign="top"><p class="normal">int(11) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">auto_increment</td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">服务ID</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">app_name</td>
<td align="left" valign="top"><p class="normal">varchar(40)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">服务名称</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">app_key</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">服务密钥</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">app_url</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">服务网址</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">app_status</td>
<td align="left" valign="top"><p class="normal">tinyint(1) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">状态 1:启用 0:禁用</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_id</td>
<td align="left" valign="top"><p class="normal">int(10) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户id-平台id,平台结算最后映射到这个用户账户中-platform_id,server_id, platform_user_id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">服务配置信息表,多个系统信息是以接口方式达到数据互通 app_id各个接口相互识别的接口id,app_name相同网站的名称例如 ,ucenter、paycenter 各个网站接口公共app_key 各个网站接口公共地址app_url 此网址对接接口的启用状态app_status</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_user_app</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">app_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">8</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_user_bank_card'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_user_bank_card</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">card_id</td>
<td align="left" valign="top"><p class="normal">int(10) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">auto_increment</td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_id</td>
<td align="left" valign="top"><p class="normal">int(10)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">bank_name</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">银行名称</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">bank_card_number</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">银行卡号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">bank_user_name</td>
<td align="left" valign="top"><p class="normal">varchar(30)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">开户人姓名</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">bank_mobile_number</td>
<td align="left" valign="top"><p class="normal">varchar(11)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">银行预留手机号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">用户录入的银行卡信息表</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_user_bank_card</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">card_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">11</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_user_base'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_user_base</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_id</td>
<td align="left" valign="top"><p class="normal">int(10) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">auto_increment</td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_number</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户编号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_account</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">UNI</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户帐号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_passwd</td>
<td align="left" valign="top"><p class="normal">char(32)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">密码:使用用户中心-此处废弃</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_pay_passwd</td>
<td align="left" valign="top"><p class="normal">varchar(32)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">支付确认密码</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_key</td>
<td align="left" valign="top"><p class="normal">char(32)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户Key</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_delete</td>
<td align="left" valign="top"><p class="normal">tinyint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">是否被封禁,0:未封禁,1:封禁</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_login_times</td>
<td align="left" valign="top"><p class="normal">mediumint(8) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">登录次数</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_login_time</td>
<td align="left" valign="top"><p class="normal">datetime</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">最后登录时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_login_ip</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">登录ip</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">Paycenter用户表包括用户在平台的状态,如是未封禁状态可以用支付密码user_passwd进行余额支付
用户每次登陆会自动生成一个登陆的用户秘钥user_key 、 user_login_times记录的是登录的次数,其他字段是登录信息的记录</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_user_base</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">user_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">284</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_user_base</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">user_account</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">user_account</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">284</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_user_info'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_user_info</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_id</td>
<td align="left" valign="top"><p class="normal">int(10) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_realname</td>
<td align="left" valign="top"><p class="normal">varchar(30)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">真实姓名</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_nickname</td>
<td align="left" valign="top"><p class="normal">varchar(30)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户昵称</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_type_id</td>
<td align="left" valign="top"><p class="normal">smallint(4) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户类别</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_level_id</td>
<td align="left" valign="top"><p class="normal">smallint(4) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">YES</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户等级</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_active_time</td>
<td align="left" valign="top"><p class="normal">timestamp</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">CURRENT_TIMESTAMP</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">激活时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_remark</td>
<td align="left" valign="top"><p class="normal">varchar(200)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">备注消息</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_provinceid</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_cityid</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_areaid</td>
<td align="left" valign="top"><p class="normal">int(11)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_address</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户详细地址</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_email</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户邮箱</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_mobile</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户手机</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_qq</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_avatar</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_identity_card</td>
<td align="left" valign="top"><p class="normal">varchar(30)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">身份证号</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_identity_statu</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">0未审核1待审核2审核成功3审核失败</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_identity_type</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">证件类型 1身份证 2护照 3军官证</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_identity_font_logo</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">证件照反面</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_identity_face_logo</td>
<td align="left" valign="top"><p class="normal">varchar(255)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">证件照正面</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_identity_start_time</td>
<td align="left" valign="top"><p class="normal">date</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">证件有效期,开始时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_identity_end_time</td>
<td align="left" valign="top"><p class="normal">date</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">证件有效期,结束时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_bt_status</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">白条审核状态:0未审核1待审核2审核成功3审核失败</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_btapply_time</td>
<td align="left" valign="top"><p class="normal">datetime</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">白条申请时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_btverify_time</td>
<td align="left" valign="top"><p class="normal">datetime</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">白条审核时间</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">Paycenter的个人信息表,用户的个人信息,实名认证、所在的省user_provinceid、所在市user_cityid、所在区user_areaid、详细地址user_address、用户的email字段user_email、用户的手机号user_mobile、用户的QQ号user_qq、用户的头像user_avatar、用户的身份证件号user_identity_card、身份证的正面照片user_identity_face_logo、身份证的背面照片user_identity_font_logo、身份证件的有效期开始时间user_identity_start_time、
身份证件的过效期开始时间user_identity_end_time、用户申请时间user_btapply_time、
用户身份信息提交时间user_btverify_time</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_user_info</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">user_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">346</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_user_resource'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_user_resource</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_id</td>
<td align="left" valign="top"><p class="normal">int(10) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户id</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_money_pending_settlement</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">待结算余额</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_money</td>
<td align="left" valign="top"><p class="normal">decimal(16,2) unsigned</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">用户资金-预付款充值、转账、结算后的款项等等</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_money_frozen</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_recharge_card</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">充值卡余额-只能从来购物</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_recharge_card_frozen</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_points</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">积分</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_points_frozen</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_credit_limit</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">信用额度</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_credit_availability</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">可用额度</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_credit_return</td>
<td align="left" valign="top"><p class="normal">decimal(16,2)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">0.00</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">已还信用额度</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">user_credit_cycle</td>
<td align="left" valign="top"><p class="normal">mediumint(4)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">30</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">白条还款周期</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">用户资源表 用户余额剩余资金user_money、用户冻结资金user_money_frozen、冻结的充值卡余额user_recharge_card_frozen、用户冻结积分user_points_frozen</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_user_resource</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">user_id</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">286</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
<a href="#header"><p class="normal">Back</a><br class=page>
<p><a name='pay_web_config'> </a>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="headtext" width="30%" align="left" valign="top">pay_web_config</td>
<td> </td>
<tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Fields</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="center" valign="top" class="fieldcolumn">Field</td>
<td align="center" valign="top" class="fieldcolumn">Type</td>
<td align="center" valign="top" class="fieldcolumn">Collation</td>
<td align="center" valign="top" class="fieldcolumn">Null</td>
<td align="center" valign="top" class="fieldcolumn">Key</td>
<td align="center" valign="top" class="fieldcolumn">Default</td>
<td align="center" valign="top" class="fieldcolumn">Extra</td>
<td align="center" valign="top" class="fieldcolumn">Privileges</td>
<td align="center" valign="top" class="fieldcolumn">Comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">config_key</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal">PRI</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">数组下标</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">config_value</td>
<td align="left" valign="top"><p class="normal">text</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">数组值</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">config_type</td>
<td align="left" valign="top"><p class="normal">varchar(50)</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">config_enable</td>
<td align="left" valign="top"><p class="normal">tinyint(1)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">状态值,1可能,0不可用</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">config_comment</td>
<td align="left" valign="top"><p class="normal">text</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">config_datatype</td>
<td align="left" valign="top"><p class="normal">enum('string','json','number')</td>
<td align="left" valign="top"><p class="normal">utf8_general_ci</td>
<td align="left" valign="top"><p class="normal">NO</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">string</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">select,insert,update,references</td>
<td align="left" valign="top"><p class="normal">数据类型</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">说明:</td>
<td align="left" valign="top" colspan="8"><p class="normal">Paycenter网址的公共配置表,对于公共参数都存储在这个表里,此表此条数据操作的类型config_type、公共内容描述config_comment</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="fieldheader" width="100%" align="left" valign="top">Indexes</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellapdding="2" border="1">
<tr>
<td align="left" valign="top" class="fieldcolumn">Table</td>
<td align="left" valign="top" class="fieldcolumn">Non<br>unique</td>
<td align="left" valign="top" class="fieldcolumn">Key<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td>
<td align="left" valign="top" class="fieldcolumn">Column<br>name</td>
<td align="left" valign="top" class="fieldcolumn">Collation</td>
<td align="left" valign="top" class="fieldcolumn">Cardinality</td>
<td align="left" valign="top" class="fieldcolumn">Sub<br>part</td>
<td align="left" valign="top" class="fieldcolumn">Packed</td>
<td align="left" valign="top" class="fieldcolumn">Null</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>type</td>
<td align="left" valign="top" class="fieldcolumn">Comment</td>
<td align="left" valign="top" class="fieldcolumn">Index<br>comment</td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_web_config</td>
<td align="left" valign="top"><p class="normal">0</td>
<td align="left" valign="top"><p class="normal">PRIMARY</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">config_key</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">207</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_web_config</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">index</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">config_key</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">207</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
<tr>
<td align="left" valign="top"><p class="normal">pay_web_config</td>
<td align="left" valign="top"><p class="normal">1</td>
<td align="left" valign="top"><p class="normal">index</td>
<td align="left" valign="top"><p class="normal">2</td>
<td align="left" valign="top"><p class="normal">config_type</td>
<td align="left" valign="top"><p class="normal">A</td>
<td align="left" valign="top"><p class="normal">207</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal">(NULL)</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal">BTREE</td>
<td align="left" valign="top"><p class="normal"> </td>
<td align="left" valign="top"><p class="normal"> </td>
</tr>
</table>
- 序言
- 系统要求
- 版本更新日志
- 远丰商城技术对接说明
- 开发指导
- 系统架构
- 负载集群
- 云存储
- 框架内容
- 基础
- 开发规范
- 目录结构
- 架构
- 架构总览
- 数据库
- 数据库连接
- 基本使用
- 缓存
- 配置
- 路由
- 数据字典
- ucenter
- shop
- paycenter
- ucenter_admin
- shop_admin
- paycenter_admin
- shop1
- shop2
- shop3
- 通讯内容
- 商家中心
- 顶部导航栏
- 店铺信息栏
- 店铺及商品提示栏
- 交易提示栏
- 销售情况统计栏
- 集群架构图
- 单品销量排行栏
- 店铺运营推广栏
- 平台联系方式栏
- 订单物流
- 商品
- 商品列表
- 商品详情
- 商品发布与编辑
- 分销商品
- 关联版式
- 商品规格
- 图片空间
- 淘宝导入
- 订单流程
- 交易订单
- 订单退款/退货
- 促销
- 团购管理
- 加价购
- 限时折扣
- 满即送
- 代金券管理
- 分销
- 店铺
- 店铺设置
- 自销产品供应商
- 实体店铺
- 品牌申请
- 店铺信息
- 消费者保障服务
- 门店账号
- 分销商--产品供应商
- 分销明细
- 批发市场
- 商家微信公众号
- 售后服务
- 咨询管理
- 投诉管理
- 退款管理
- 退货管理
- 杂项
- 远程上传图片
- 接口(废弃,参考最外层接口项)
- 接口说明
- 品牌
- 商品规格
- 商品类型
- 商品分类
- 商品
- 订单
- 商品/店铺收藏
- 足迹
- 退款及退货
- 商家店铺
- 会员
- 入驻协议
- 订单接口
- 商品接口
- 订单物流接口
- 商家中心接口
- 促销接口
- 快递鸟物流接口
- 代金券接口
- 首页版块
- 团购
- 平台红包
- 限时折扣接口
- 拼团接口
- wap首页模板
- JS
- 银联支付
- 多语言
- 商品评分
- 图片加载
- 买家申请退款退货
- 商家退款退货
- 平台退款退货
- 添加发票
- 提交订单
- 确认订单
- 运费销售区域
- 获取会员地址
- 充值
- 导出XLS
- 商城系统集成
- 多语言实现
- 三级分销推广链接发展推广员
- app.ini.php
- 去分销
- 版本更新
- 物流支持
- 运营人员建议
- 业务逻辑
- 统计结算
- 客服消息
- 账号
- 三级分销
- IM
- 配置
- 平台帐号
- 活动数据表说明
- 接口
- 数据库中间键
- MyCat的优势
- 概念说明
- Mycat的下载及安装
- 参数配置案列
- Mycat读写分离
- 基本命令
- 常见错误