save.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?php
  2. return array
  3. (
  4. 'list' => array
  5. (
  6. 'field' => array
  7. (
  8. 'id',
  9. 'name',
  10. 'type',
  11. 'cdate',
  12. ),
  13. 'button' => array
  14. (
  15. '新增' => 'add',
  16. ),
  17. 'data_button' => array
  18. (
  19. '编辑' => 'edit',
  20. ),
  21. ),
  22. 'update' => array
  23. (
  24. 'field' => array
  25. (
  26. 'name',
  27. 'host',
  28. 'type' => array
  29. (
  30. 'type' => 'radio',
  31. 'control' => true,
  32. ),
  33. 'method' => array
  34. (
  35. 'type' => 'radio',
  36. ),
  37. 'appkey',
  38. 'appsecret',
  39. 'bucket',
  40. 'region_id' => array
  41. (
  42. 'desc' => 'oss直接填RegionId即可,如beijing,七牛可填写z1',
  43. ),
  44. 'role_arn' => array
  45. (
  46. 'desc' => '建议添加权限策略',
  47. ),
  48. ),
  49. 'control' => array
  50. (
  51. 'method' => array
  52. (
  53. 'type' => array(2,3),
  54. ),
  55. 'appkey' => array
  56. (
  57. 'type' => array(2,3),
  58. ),
  59. 'appsecret' => array
  60. (
  61. 'type' => array(2,3),
  62. ),
  63. 'bucket' => array
  64. (
  65. 'type' => array(2,3),
  66. ),
  67. 'region_id' => array
  68. (
  69. 'type' => array(2,3),
  70. ),
  71. 'role_arn' => array
  72. (
  73. 'type' => 3,
  74. ),
  75. ),
  76. ),
  77. );