yspay_sign_pic.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?php
  2. $acct_type = array
  3. (
  4. -1 => '个人账户',
  5. 1 => '公司账户',
  6. );
  7. $mer_type = array
  8. (
  9. 1 => '企业商户',
  10. 2 => '个人工商户',
  11. 3 => '小微商户',
  12. );
  13. return array
  14. (
  15. # 表名
  16. 'name' => 'yspay_sign_pic',
  17. # 显示给用户看的名称
  18. 'lang' => '自主签约图片',
  19. # 后台菜单排序
  20. 'order' => 99,
  21. 'menu' => false,
  22. # 数据结构
  23. 'struct' => array
  24. (
  25. 'id' => array
  26. (
  27. 'type' => 'int-11',
  28. 'name' => 'ID',
  29. 'default' => '',
  30. 'desc' => '',
  31. 'match' => 'is_numeric',
  32. 'search' => 'order',
  33. //'list' => true,
  34. 'order' => 'desc',
  35. ),
  36. 'key' => array
  37. (
  38. 'type' => 'varchar-32',
  39. 'name' => '图片key',
  40. 'default' => '',
  41. 'desc' => '图片key',
  42. 'match' => 'is_string',
  43. 'update' => 'text',
  44. 'search' => 'fulltext',
  45. 'list' => true,
  46. ),
  47. 'url' => array
  48. (
  49. 'type' => 'varchar-800',
  50. 'name' => '图片url',
  51. 'default' => '',
  52. 'desc' => '图片url',
  53. 'match' => 'is_string',
  54. 'update' => 'text',
  55. 'search' => 'fulltext',
  56. 'list' => true,
  57. ),
  58. 'document_name' => array
  59. (
  60. 'type' => 'varchar-32',
  61. 'name' => '图片名称',
  62. 'default' => '',
  63. 'desc' => '请输入姓名',
  64. 'match' => 'is_string',
  65. 'update' => 'text',
  66. 'search' => 'fulltext',
  67. 'list' => true,
  68. ),
  69. 'document_type' => array
  70. (
  71. 'type' => 'varchar-32',
  72. 'name' => '图片类型',
  73. 'default' => '',
  74. 'desc' => '请输入姓名',
  75. 'match' => 'is_string',
  76. 'update' => 'text',
  77. 'search' => 'fulltext',
  78. 'list' => true,
  79. ),
  80. 'path' => array
  81. (
  82. 'type' => 'text-300',
  83. 'name' => '图片内容',
  84. 'default' => '',
  85. 'desc' => '请输入姓名',
  86. 'match' => 'is_string',
  87. 'update' => 'text',
  88. 'search' => 'text',
  89. 'list' => true,
  90. ),
  91. 'state' => array
  92. (
  93. 'type' => 'tinyint-1',
  94. 'name' => '状态',
  95. 'default' => '1',
  96. 'desc' => '请选择状态',
  97. 'match' => 'is_numeric',
  98. ),
  99. 'cdate' => array
  100. (
  101. 'type' => 'int-11',
  102. 'name' => '录入时间',
  103. 'match' => array('is_numeric', time()),
  104. 'desc' => '',
  105. # 只有insert时才生效
  106. 'insert' => true,
  107. //'list' => 'date("Y-m-d H:i:s", {cdate})',
  108. ),
  109. ),
  110. 'manage' => array
  111. (
  112. // 'list' => 'update',
  113. ),
  114. );