account_setting.php 819 B

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