platform_request_body.php 715 B

12345678910111213141516171819202122232425
  1. <?php
  2. return [
  3. 'update' => [
  4. 'field' => [
  5. 'platform_id' => [
  6. 'type' => 'hidden',
  7. 'default' => 'Dever::call("Api/Manage/Lib/Platform.getId")',
  8. ],
  9. 'key' => [
  10. 'type' => 'textarea',
  11. 'autosize' => ['minRows' => 2],
  12. ],
  13. 'value' => [
  14. 'type' => 'textarea',
  15. 'autosize' => ['minRows' => 2],
  16. ],
  17. 'type' => [
  18. 'type' => 'cascader',
  19. 'option' => 'Dever::call("Api/Lib/Util.fieldType", "{platform_id}")',
  20. 'clearable' => true,
  21. ],
  22. ],
  23. 'drag' => 'sort',
  24. ],
  25. ];