yspay_sign_log.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?php
  2. $step = Dever::db('pay/yspay_sign')->config['step'];
  3. $step[100] = '绑定门店';
  4. return array
  5. (
  6. # 表名
  7. 'name' => 'yspay_sign_log',
  8. # 显示给用户看的名称
  9. 'lang' => '自主签约日志',
  10. # 后台菜单排序
  11. 'order' => 99,
  12. 'step' => $step,
  13. 'menu' => false,
  14. # 数据结构
  15. 'struct' => array
  16. (
  17. 'id' => array
  18. (
  19. 'type' => 'int-11',
  20. 'name' => 'ID',
  21. 'default' => '',
  22. 'desc' => '',
  23. 'match' => 'is_numeric',
  24. 'search' => 'order',
  25. //'list' => true,
  26. 'order' => 'desc',
  27. ),
  28. 'account_id' => array
  29. (
  30. 'type' => 'int-11',
  31. 'name' => '账户id',
  32. 'default' => '',
  33. 'desc' => '账户id',
  34. 'match' => 'option',
  35. 'search' => 'hidden',
  36. 'update' => 'hidden',
  37. 'value' => Dever::input('search_option_account_id'),
  38. ),
  39. 'merchant_id' => array
  40. (
  41. 'type' => 'int-11',
  42. 'name' => '商户id',
  43. 'default' => '',
  44. 'desc' => '商户id',
  45. 'match' => 'option',
  46. 'update' => 'hidden',
  47. 'value' => Dever::input('search_option_merchant_id'),
  48. 'list_name' => '商户名称',
  49. 'list' => 'Dever::load("pay/yspay_merchant-one#name", "{merchant_id}")',
  50. ),
  51. 'step' => array
  52. (
  53. 'type' => 'int-11',
  54. 'name' => '当前进度',
  55. 'default' => '',
  56. 'desc' => '当前进度',
  57. 'match' => 'option',
  58. 'update' => 'text',
  59. 'option' => $step,
  60. 'list' => true,
  61. ),
  62. 'desc' => array
  63. (
  64. 'type' => 'varchar-800',
  65. 'name' => '日志描述',
  66. 'default' => '',
  67. 'desc' => '日志描述',
  68. 'match' => 'option',
  69. 'update' => 'text',
  70. 'search' => 'fulltext',
  71. 'list' => true,
  72. ),
  73. 'request_seq' => array
  74. (
  75. 'type' => 'varchar-800',
  76. 'name' => '请求流水号',
  77. 'default' => '',
  78. 'desc' => '请求流水号',
  79. 'match' => 'option',
  80. 'update' => 'text',
  81. 'search' => 'fulltext',
  82. 'list' => true,
  83. ),
  84. 'request' => array
  85. (
  86. 'type' => 'text-255',
  87. 'name' => '请求数据',
  88. 'default' => '',
  89. 'desc' => '请求数据',
  90. 'match' => 'option',
  91. 'update' => 'text',
  92. ),
  93. 'response' => array
  94. (
  95. 'type' => 'text-255',
  96. 'name' => '响应数据',
  97. 'default' => '',
  98. 'desc' => '响应数据',
  99. 'match' => 'option',
  100. 'update' => 'text',
  101. ),
  102. 'admin_id' => array
  103. (
  104. 'type' => 'int-11',
  105. 'name' => '管理员id',
  106. 'default' => '0',
  107. 'desc' => '管理员id',
  108. 'match' => 'is_numeric',
  109. 'update' => 'hidden',
  110. ),
  111. 'state' => array
  112. (
  113. 'type' => 'tinyint-1',
  114. 'name' => '状态',
  115. 'default' => '1',
  116. 'desc' => '请选择状态',
  117. 'match' => 'is_numeric',
  118. ),
  119. 'cdate' => array
  120. (
  121. 'type' => 'int-11',
  122. 'name' => '请求时间',
  123. 'match' => array('is_numeric', time()),
  124. 'desc' => '',
  125. # 只有insert时才生效
  126. //'insert' => true,
  127. 'list' => 'date("Y-m-d H:i:s", {cdate})',
  128. ),
  129. ),
  130. 'manage' => array
  131. (
  132. 'insert' => false,
  133. 'edit' => false,
  134. 'delete' => false,
  135. ),
  136. );