manage_api 917 B

123456789101112131415161718
  1. <?php return array (
  2. 'time' => 1450012988,
  3. 'table' => 'manage_api',
  4. 'create' => 'DROP TABLE IF EXISTS `manage_api`;CREATE TABLE `manage_api`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'ID\',`name` VARCHAR(30) NOT NULL DEFAULT \'\' COMMENT \'接口名称\',`request` TEXT(255) COMMENT \'请求参数\',`response` TEXT(255) COMMENT \'返回参数\',`type` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'接口类型\',`project` VARCHAR(30) NOT NULL DEFAULT \'\' COMMENT \'所属项目\',`site` VARCHAR(150) NOT NULL DEFAULT \'\' COMMENT \'接口地址\',`reorder` INT(11) NOT NULL DEFAULT \'1\' COMMENT \'排序\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'录入时间\')',
  5. 'struct' =>
  6. array (
  7. 'id' => 0,
  8. 'name' => 1,
  9. 'request' => 2,
  10. 'response' => 3,
  11. 'type' => 4,
  12. 'project' => 5,
  13. 'site' => 6,
  14. 'reorder' => 7,
  15. 'cdate' => 8,
  16. ),
  17. 'alter' => 1,
  18. );