|
@@ -113,8 +113,8 @@ class Setting extends BaseController {
|
|
|
}
|
|
|
|
|
|
public function authCode($channelId) {
|
|
|
- $authCode = (new SettingService())->getAuthCode((int)$channelId);
|
|
|
- Until::output(['authCode' => $authCode]);
|
|
|
+ $info = (new SettingService())->setAuthUrl((int)$channelId,'https://webcast.bizconfstreaming.com/soa-mdl?channelId'.$channelId);
|
|
|
+ Until::output(['authCode' => $info['encrypt_code']]);
|
|
|
}
|
|
|
|
|
|
|