yspay_sign_log.php 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. 'merchant_id' => array
  29. (
  30. 'type' => 'int-11',
  31. 'name' => '商户id',
  32. 'default' => '',
  33. 'desc' => '商户id',
  34. 'match' => 'option',
  35. 'update' => 'hidden',
  36. 'value' => Dever::input('search_option_merchant_id'),
  37. 'list_name' => '商户名称',
  38. 'list' => 'Dever::load("pay/yspay_merchant-one#name", "{merchant_id}")',
  39. ),
  40. 'step' => array
  41. (
  42. 'type' => 'int-11',
  43. 'name' => '当前进度',
  44. 'default' => '',
  45. 'desc' => '当前进度',
  46. 'match' => 'option',
  47. 'update' => 'text',
  48. 'option' => $step,
  49. 'list' => true,
  50. ),
  51. 'desc' => array
  52. (
  53. 'type' => 'varchar-800',
  54. 'name' => '日志描述',
  55. 'default' => '',
  56. 'desc' => '日志描述',
  57. 'match' => 'option',
  58. 'update' => 'text',
  59. 'search' => 'fulltext',
  60. 'list' => true,
  61. ),
  62. 'request_seq' => 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' => array
  74. (
  75. 'type' => 'text-255',
  76. 'name' => '请求数据',
  77. 'default' => '',
  78. 'desc' => '请求数据',
  79. 'match' => 'option',
  80. 'update' => 'text',
  81. ),
  82. 'response' => array
  83. (
  84. 'type' => 'text-255',
  85. 'name' => '响应数据',
  86. 'default' => '',
  87. 'desc' => '响应数据',
  88. 'match' => 'option',
  89. 'update' => 'text',
  90. ),
  91. 'admin_id' => array
  92. (
  93. 'type' => 'int-11',
  94. 'name' => '管理员id',
  95. 'default' => '0',
  96. 'desc' => '管理员id',
  97. 'match' => 'is_numeric',
  98. 'update' => 'hidden',
  99. ),
  100. 'state' => array
  101. (
  102. 'type' => 'tinyint-1',
  103. 'name' => '状态',
  104. 'default' => '1',
  105. 'desc' => '请选择状态',
  106. 'match' => 'is_numeric',
  107. ),
  108. 'cdate' => array
  109. (
  110. 'type' => 'int-11',
  111. 'name' => '请求时间',
  112. 'match' => array('is_numeric', time()),
  113. 'desc' => '',
  114. # 只有insert时才生效
  115. //'insert' => true,
  116. 'list' => 'date("Y-m-d H:i:s", {cdate})',
  117. ),
  118. ),
  119. 'manage' => array
  120. (
  121. 'insert' => false,
  122. 'edit' => false,
  123. 'delete' => false,
  124. ),
  125. );