api_path.php 903 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. return [
  3. 'name' => '接口路径设置',
  4. 'order' => 'sort asc',
  5. 'struct' => [
  6. 'api_id' => [
  7. 'name' => '接口id',
  8. 'type' => 'int(11)',
  9. ],
  10. 'key' => [
  11. 'name' => '路径参数名',
  12. 'type' => 'varchar(32)',
  13. ],
  14. 'value' => [
  15. 'name' => '路径参数值',
  16. 'type' => 'varchar(150)',
  17. ],
  18. 'type' => [
  19. 'name' => '展示形式',
  20. 'type' => 'tinyint(1)',
  21. 'default' => '1',
  22. 'value' => [
  23. 1 => 'value形式',
  24. 2 => 'key/value形式',
  25. 3 => 'key=value形式',
  26. ],
  27. ],
  28. 'sort' => [
  29. 'name' => '排序',
  30. 'type' => 'int(11)',
  31. 'default' => '1',
  32. ],
  33. ],
  34. ];