yspay_cash_tixian.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?php
  2. $status = array
  3. (
  4. 1 => array('name' => '申请中', 'style' => 'font-weight:bold;color:blue'),
  5. 2 => array('name' => '受理成功', 'style' => 'font-weight:bold;color:green'),
  6. 3 => array('name' => '受理失败', 'style' => 'font-weight:bold;color:#CD3700'),
  7. );
  8. $type = array
  9. (
  10. 1 => '划付',
  11. 2 => '分账',
  12. );
  13. $auto = array
  14. (
  15. 1 => '自动',
  16. 2 => '手动',
  17. );
  18. return array
  19. (
  20. # 表名
  21. 'name' => 'yspay_cash_tixian',
  22. # 显示给用户看的名称
  23. 'lang' => '银联资金提现',
  24. 'order' => -200,
  25. 'menu' => false,
  26. 'start' => array
  27. (
  28. 'insert' => 'pay/yspay/cash.tixian',
  29. 'update' => 'pay/yspay/cash.tixian',
  30. ),
  31. # 数据结构
  32. 'struct' => array
  33. (
  34. 'id' => array
  35. (
  36. 'type' => 'int-11',
  37. 'name' => 'ID',
  38. 'default' => '',
  39. 'desc' => '',
  40. 'match' => 'is_numeric',
  41. 'search' => 'order',
  42. 'update' => 'hidden',
  43. //'list' => true,
  44. ),
  45. 'merchant_id' => array
  46. (
  47. 'type' => 'int-11',
  48. 'name' => '商户id',
  49. 'default' => '',
  50. 'desc' => '商户id',
  51. 'match' => 'option',
  52. 'update' => 'hidden',
  53. 'value' => Dever::input('search_option_merchant_id'),
  54. ),
  55. 'cash' => array
  56. (
  57. 'type' => 'varchar-100',
  58. 'name' => '提现金额',
  59. 'default' => '',
  60. 'desc' => '提现金额',
  61. 'match' => 'is_string',
  62. 'update' => 'text',
  63. ),
  64. 'state' => array
  65. (
  66. 'type' => 'tinyint-1',
  67. 'name' => '状态',
  68. 'default' => '1',
  69. 'desc' => '请选择状态',
  70. 'match' => 'is_numeric',
  71. ),
  72. 'cdate' => array
  73. (
  74. 'type' => 'int-11',
  75. 'name' => '创建时间',
  76. 'match' => array('is_numeric', time()),
  77. 'desc' => '',
  78. # 只有insert时才生效
  79. //'insert' => true,
  80. //'search' => 'date',
  81. //'list' => 'date("Y-m-d H:i:s", {cdate})',
  82. ),
  83. ),
  84. 'manage' => array
  85. (
  86. 'edit' => false,
  87. 'insert' => false,
  88. 'delete' => false,
  89. ),
  90. 'request' => array
  91. (
  92. ),
  93. );