123456789101112131415161718192021222324252627 |
- <?php
- $account_id = Dever::input('set')['account_id'] ?? 0;
- if (!$account_id) {
- $account_id = Dever::input('field')['account_id'] ?? 0;
- }
- $account = Dever::db('account', 'api')->find($account_id);
- return array
- (
- 'update' => array
- (
- 'field' => array
- (
- 'platform_setting_id' => array
- (
- 'type' => 'select',
- 'option' => 'Dever::call("api/app.getSetting", '.$account['platform_id'].')',
- //'remote' => 'api/manage.getSettingName',
- //'remote_default' => false,
- ),
- 'value' => array
- (
- 'type' => 'textarea',
- 'autosize' => array('minRows' => 2),
- ),
- ),
- ),
- );
|