🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
<table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td class="toptext"><p align="center">shop_admin</td> </tr> </table> <a name="header">&nbsp</a><ul> <li><a href="#yf_admin_base_protocol"><p class="normal">yf_admin_base_protocol</a></li> <li><a href="#yf_admin_log_action"><p class="normal">yf_admin_log_action</a></li> <li><a href="#yf_admin_menu"><p class="normal">yf_admin_menu</a></li> <li><a href="#yf_admin_rights_base"><p class="normal">yf_admin_rights_base</a></li> <li><a href="#yf_admin_rights_data_type"><p class="normal">yf_admin_rights_data_type</a></li> <li><a href="#yf_admin_rights_group"><p class="normal">yf_admin_rights_group</a></li> <li><a href="#yf_admin_user_base"><p class="normal">yf_admin_user_base</a></li> <li><a href="#yf_admin_user_info"><p class="normal">yf_admin_user_info</a></li> <li><a href="#yf_admin_user_rights_data"><p class="normal">yf_admin_user_rights_data</a></li> <li><a href="#yf_admin_web_config"><p class="normal">yf_admin_web_config</a></li> </ul> <br class=page> <p><a name='yf_admin_base_protocol'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_admin_base_protocol</td> <td>&nbsp</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">protocol_id</td> <td align="left" valign="top"><p class="normal">mediumint(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">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">cmd_id</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">UNI</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">ctl</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">met</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">db</td> <td align="left" valign="top"><p class="normal">enum('master','slave')</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">master</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">typ</td> <td align="left" valign="top"><p class="normal">enum('e','json','msgpcak','amf')</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">json</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">rights_id</td> <td align="left" valign="top"><p class="normal">mediumint(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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">log</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">struct</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">comment</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">0</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">int16_t:cmd_id</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">4</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">5</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">6</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">7</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">8</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">9</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">10</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">11</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">12</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">13</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">14</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">15</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">16</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">17</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">18</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">19</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">20</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">21</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">22</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">23</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">24</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">25</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">26</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">27</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">28</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">29</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">30</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">31</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">32</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">33</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">34</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">Shop平台的代码构造数据表用于记载该网站所包含的控制器方法名下对应的日志id就是log日志表信息,以及权限表rights_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">yf_admin_base_protocol</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">protocol_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">326</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_admin_base_protocol</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">cmd_id_key</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">cmd_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">326</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_admin_log_action'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_admin_log_action</td> <td>&nbsp</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">log_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">日志id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_id</td> <td align="left" valign="top"><p class="normal">mediumint(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">MUL</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</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_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</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_name</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">action_id</td> <td align="left" valign="top"><p class="normal">mediumint(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">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">行为id == protocal_id -> rights_id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">action_type_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">操作类型id,right_parent_id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">log_param</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">log_ip</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">log_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">MUL</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">log_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">CURRENT_TIMESTAMP</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">shop_admin后台的用户操作日志记录表,对于ucenter平台的操作记录会记录在这个表中</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">yf_admin_log_action</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">log_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">71776</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_admin_log_action</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">player_id</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">12</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_admin_log_action</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">log_date</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">log_date</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">290</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_admin_menu'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_admin_menu</td> <td>&nbsp</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">menu_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">menu_parent_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">menu_name</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">menu_icon</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">图标class</td> </tr> <tr> <td align="left" valign="top"><p class="normal">rights_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">menu_url_ctl</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">menu_url_met</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">menu_url_parem</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">url参数</td> </tr> <tr> <td align="left" valign="top"><p class="normal">menu_url_note</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">menu_order</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">50</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">menu_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">Shop平台的菜单表,记录该菜单id (menu_id),上级菜单id(menu_parent_id),如有该父级菜单则该菜单在父级菜单列表下,该菜单的权限rights_id受控于权限表yf_admin_rights_base</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">yf_admin_menu</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">menu_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">228</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_admin_rights_base'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_admin_rights_base</td> <td>&nbsp</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">rights_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">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">rights_name</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">rights_parent_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">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">rights_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">rights_order</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">50</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">yf_admin_rights_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">rights_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">385</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_admin_rights_data_type'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_admin_rights_data_type</td> <td>&nbsp</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">rights_data_type_id</td> <td align="left" valign="top"><p class="normal">mediumint(6) 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">rights_data_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">rights_data_type_primary_key</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">yf_admin_rights_data_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">rights_data_type_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_admin_rights_group'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_admin_rights_group</td> <td>&nbsp</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">rights_group_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">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">rights_group_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">rights_group_rights_ids</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">rights_group_add_time</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">yf_admin_rights_group</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">rights_group_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_admin_user_base'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_admin_user_base</td> <td>&nbsp</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">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">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_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">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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_password</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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) 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">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">rights_group_id</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">sub_site_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">所属子站, 0总站</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">用户基础信息表shop后台用户可通过账户登录,然后总账户可以可分配权限表</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">yf_admin_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">9</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_admin_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">9</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_admin_user_info'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_admin_user_info</td> <td>&nbsp</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">mediumint(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">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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(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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">yf_admin_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">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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_admin_user_rights_data'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_admin_user_rights_data</td> <td>&nbsp</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_rights_data_id</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">PRI</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_id</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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_rights_data_value</td> <td align="left" valign="top"><p class="normal">mediumint(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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">rights_data_type_id</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">说明:</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">yf_admin_user_rights_data</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_rights_data_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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_admin_web_config'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_admin_web_config</td> <td>&nbsp</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">&nbsp;</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">string</td> <td align="left" valign="top"><p class="normal">&nbsp;</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">Shop_admin网址的公共配置表,对于公共参数都存储在这个表里,此表此条数据操作的类型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">yf_admin_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">5</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_admin_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">5</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_admin_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">5</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">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table>