geek лет назад: 4
Родитель
Сommit
00e3a7d7d9
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      application/index/controller/Setting.php

+ 2 - 0
application/index/controller/Setting.php

@@ -67,6 +67,8 @@ class Setting extends BaseController {
             'id'                      => 'require'
         ];
         Until::check($rule, $input);
+        $service = new SettingService();
+        $service->setAuthUrl($input['channel_id'], $input['redirct_url']);
         (new SettingModel())::where(['id' => (int)$input['id']])->update([
             'site_id'           => $input['site_id'],
             'unique_key'        => $input['unique_key'],