yspay_tixian_apply.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?php
  2. return array
  3. (
  4. # 表名
  5. 'name' => 'yspay_tixian_apply',
  6. # 显示给用户看的名称
  7. 'lang' => '申请提现',
  8. 'order' => -200,
  9. 'menu' => false,
  10. 'start' => array
  11. (
  12. 'insert' => 'shop/lib/yspay.insert',
  13. ),
  14. 'end' => array
  15. (
  16. 'insert' => 'shop/lib/yspay.update',
  17. 'update' => 'shop/lib/yspay.update',
  18. ),
  19. # 数据结构
  20. 'struct' => array
  21. (
  22. 'id' => array
  23. (
  24. 'type' => 'int-11',
  25. 'name' => 'ID',
  26. 'default' => '',
  27. 'desc' => '',
  28. 'match' => 'is_numeric',
  29. 'search' => 'order',
  30. 'update' => 'hidden',
  31. //'list' => true,
  32. ),
  33. 'shop_id' => array
  34. (
  35. 'type' => 'int-11',
  36. 'name' => '门店名称',
  37. 'default' => '',
  38. 'desc' => '所属门店',
  39. 'match' => 'is_numeric',
  40. 'update' => 'hidden',
  41. 'value' => Dever::input('shop_id'),
  42. ),
  43. 'cash' => array
  44. (
  45. 'type' => 'int-11',
  46. 'name' => '提现金额',
  47. 'default' => '0',
  48. 'desc' => '提现金额',
  49. 'match' => 'option',
  50. 'update' => 'text',
  51. 'list' => 'round({cash}/100, 2)',
  52. ),
  53. 'desc' => array
  54. (
  55. 'type' => 'varchar-800',
  56. 'name' => '备注',
  57. 'default' => '',
  58. 'desc' => '备注',
  59. 'match' => 'is_numeric',
  60. 'update' => 'textarea',
  61. 'list' => true,
  62. ),
  63. 'state' => array
  64. (
  65. 'type' => 'tinyint-1',
  66. 'name' => '状态',
  67. 'default' => '1',
  68. 'desc' => '请选择状态',
  69. 'match' => 'is_numeric',
  70. ),
  71. 'cdate' => array
  72. (
  73. 'type' => 'int-11',
  74. 'name' => '创建时间',
  75. 'match' => array('is_numeric', time()),
  76. 'desc' => '',
  77. # 只有insert时才生效
  78. //'insert' => true,
  79. //'search' => 'date',
  80. //'list' => 'date("Y-m-d H:i:s", {cdate})',
  81. ),
  82. ),
  83. 'manage' => array
  84. (
  85. 'edit' => false,
  86. 'insert' => false,
  87. 'delete' => false,
  88. ),
  89. 'request' => array
  90. (
  91. 'getAll' => array
  92. (
  93. 'option' => array
  94. (
  95. 'shop_id' => 'yes',
  96. 'state' => 1,
  97. ),
  98. 'type' => 'all',
  99. 'col' => '*|store_id',
  100. ),
  101. ),
  102. );