account_setting.php 917 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. $account_id = Dever::input('id');
  3. $account = Dever::db('account', 'api')->find($account_id);
  4. return array
  5. (
  6. 'update' => array
  7. (
  8. 'field' => array
  9. (
  10. 'platform_setting_id' => 'hidden',
  11. 'platform_setting_name' => array
  12. (
  13. 'name' => '参数名',
  14. 'type' => 'show',
  15. 'default' => 'Dever::call("api/platform_setting-find", "{platform_setting_id}")["name"]',
  16. //'disable' => true,
  17. //'option' => 'Dever::call("api/app.getSetting", '.$account['platform_id'].')',
  18. //'remote' => 'api/manage.getSettingName',
  19. //'remote_default' => false,
  20. ),
  21. 'value' => array
  22. (
  23. 'type' => 'textarea',
  24. 'autosize' => array('minRows' => 2),
  25. ),
  26. ),
  27. ),
  28. );