123456789101112131415161718192021222324252627282930313233 |
- <?php
- /**
- * Author: luzheng.liu
- * Time: 2020/12/5 00:49
- */
- namespace app\common\service;
- class CommonService {
- public static function getChannelId(): int {
- return 492717;
- }
- public static function getAuthKey(): string {
- return 'taT7WDgH20QP';
- }
- public static function getAuthUrl() {
- $baseUrl = self::getBaeUrl();
- // $redirectUrl = ['redirect_uri' => self::getRedirectUrl()];
- return $baseUrl.'?redirecturi='.self::getRedirectUrl();
- }
- public static function getBaeUrl() {
- return 'http://mdttest.kydev.net/api/wechat/focusarea/11/28';
- }
- public static function getRedirectUrl() {
- return 'https://webcast.bizconfstreaming.com/index/user/login';
- }
- }
|