withdraw_info.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?php
  2. $sign = array
  3. (
  4. 1 => '已签约',
  5. 2 => '未签约',
  6. );
  7. $agreement = array
  8. (
  9. 1 => '已签署',
  10. 2 => '未签署',
  11. );
  12. return array
  13. (
  14. # 表名
  15. 'name' => 'withdraw_info',
  16. # 显示给用户看的名称
  17. 'lang' => '提现人信息',
  18. 'order' => 100,
  19. 'menu' => false,
  20. # 数据结构
  21. 'struct' => array
  22. (
  23. 'id' => array
  24. (
  25. 'type' => 'int-11',
  26. 'name' => 'ID',
  27. 'default' => '',
  28. 'desc' => '',
  29. 'match' => 'is_numeric',
  30. //'list' => true,
  31. ),
  32. 'info_id' => array
  33. (
  34. 'type' => 'int-11',
  35. 'name' => '账户id',
  36. 'default' => '',
  37. 'desc' => '账户id',
  38. 'match' => 'is_numeric',
  39. 'search' => 'hidden',
  40. 'update' => 'hidden',
  41. 'value' => Dever::input('search_option_info_id'),
  42. ),
  43. 'name' => array
  44. (
  45. 'type' => 'varchar-200',
  46. 'name' => '提现人姓名',
  47. 'default' => '',
  48. 'desc' => '提现人姓名',
  49. 'match' => 'is_string',
  50. 'update' => 'text',
  51. 'list' => true,
  52. ),
  53. 'idcard' => array
  54. (
  55. 'type' => 'varchar-200',
  56. 'name' => '提现人身份证号',
  57. 'default' => '',
  58. 'desc' => '提现人身份证号',
  59. 'match' => 'is_string',
  60. 'update' => 'text',
  61. 'list' => true,
  62. ),
  63. 'mobile' => array
  64. (
  65. 'type' => 'varchar-11',
  66. 'name' => '提现人手机号',
  67. 'default' => '',
  68. 'desc' => '提现人手机号',
  69. 'match' => 'is_string',
  70. 'update' => 'text',
  71. 'list' => true,
  72. ),
  73. 'sign' => array
  74. (
  75. 'type' => 'tinyint-1',
  76. 'name' => '是否已签约-这里也可以不做改动,如不做改动会自动从第三方接口中获取签约状态',
  77. 'default' => '2',
  78. 'desc' => '是否已签约',
  79. 'match' => 'is_numeric',
  80. 'update' => 'radio',
  81. 'option' => $sign,
  82. ),
  83. 'agreement' => array
  84. (
  85. 'type' => 'tinyint-1',
  86. 'name' => '是否签署合同协议',
  87. 'default' => '2',
  88. 'desc' => '是否签署合同协议',
  89. 'match' => 'is_numeric',
  90. 'update' => 'radio',
  91. 'option' => $agreement,
  92. ),
  93. 'agreement_pic' => array
  94. (
  95. 'type' => 'varchar-150',
  96. 'name' => '合同协议图片',
  97. 'default' => ' ',
  98. 'desc' => '合同协议图片',
  99. 'match' => 'option',
  100. 'update' => 'image',
  101. 'key' => '1',
  102. ),
  103. 'state' => array
  104. (
  105. 'type' => 'tinyint-1',
  106. 'name' => '状态',
  107. 'default' => '1',
  108. 'desc' => '请选择状态',
  109. 'match' => 'is_numeric',
  110. ),
  111. 'cdate' => array
  112. (
  113. 'type' => 'int-11',
  114. 'name' => '录入时间',
  115. 'match' => array('is_numeric', time()),
  116. 'desc' => '',
  117. # 只有insert时才生效
  118. 'insert' => true,
  119. ),
  120. ),
  121. 'manage' => array
  122. (
  123. ),
  124. # request 请求接口定义
  125. 'request' => array
  126. (
  127. )
  128. );