Пример #1
0
 public static function setAppInfo($appid, $secretId, $secretKey, $userid)
 {
     self::$APPID = $appid;
     self::$SECRET_ID = $secretId;
     self::$SECRET_KEY = $secretKey;
     self::$USER_ID = $userid;
 }
Пример #2
0
 public static function setAppInfo($appid, $secretId, $secretKey, $userid, $end_point)
 {
     self::$APPID = $appid;
     self::$SECRET_ID = $secretId;
     self::$SECRET_KEY = $secretKey;
     self::$USER_ID = $userid;
     self::$END_POINT = $end_point;
 }