yspay_sign_log.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. 'search' => 'hidden',
  48. 'value' => Dever::input('search_option_merchant_id'),
  49. 'list_name' => '商户名称',
  50. 'list' => 'Dever::load("pay/yspay_merchant-one#name", "{merchant_id}")',
  51. ),
  52. 'step' => array
  53. (
  54. 'type' => 'int-11',
  55. 'name' => '当前进度',
  56. 'default' => '',
  57. 'desc' => '当前进度',
  58. 'match' => 'option',
  59. 'update' => 'text',
  60. 'option' => $step,
  61. 'list' => true,
  62. ),
  63. 'desc' => array
  64. (
  65. 'type' => 'varchar-800',
  66. 'name' => '日志描述',
  67. 'default' => '',
  68. 'desc' => '日志描述',
  69. 'match' => 'option',
  70. 'update' => 'text',
  71. 'search' => 'fulltext',
  72. 'list' => true,
  73. ),
  74. 'request_seq' => array
  75. (
  76. 'type' => 'varchar-800',
  77. 'name' => '请求流水号',
  78. 'default' => '',
  79. 'desc' => '请求流水号',
  80. 'match' => 'option',
  81. 'update' => 'text',
  82. 'search' => 'fulltext',
  83. 'list' => true,
  84. ),
  85. 'request' => array
  86. (
  87. 'type' => 'text-255',
  88. 'name' => '请求数据',
  89. 'default' => '',
  90. 'desc' => '请求数据',
  91. 'match' => 'option',
  92. 'update' => 'text',
  93. ),
  94. 'response' => array
  95. (
  96. 'type' => 'text-255',
  97. 'name' => '响应数据',
  98. 'default' => '',
  99. 'desc' => '响应数据',
  100. 'match' => 'option',
  101. 'update' => 'text',
  102. ),
  103. 'admin_id' => array
  104. (
  105. 'type' => 'int-11',
  106. 'name' => '管理员id',
  107. 'default' => '0',
  108. 'desc' => '管理员id',
  109. 'match' => 'is_numeric',
  110. 'update' => 'hidden',
  111. ),
  112. 'state' => array
  113. (
  114. 'type' => 'tinyint-1',
  115. 'name' => '状态',
  116. 'default' => '1',
  117. 'desc' => '请选择状态',
  118. 'match' => 'is_numeric',
  119. ),
  120. 'cdate' => array
  121. (
  122. 'type' => 'int-11',
  123. 'name' => '请求时间',
  124. 'match' => array('is_numeric', time()),
  125. 'desc' => '',
  126. # 只有insert时才生效
  127. //'insert' => true,
  128. 'list' => 'date("Y-m-d H:i:s", {cdate})',
  129. ),
  130. ),
  131. 'manage' => array
  132. (
  133. 'insert' => false,
  134. 'edit' => false,
  135. 'delete' => false,
  136. ),
  137. );