public static function setAppInfo($appid, $secretId, $secretKey, $userid) { self::$APPID = $appid; self::$SECRET_ID = $secretId; self::$SECRET_KEY = $secretKey; self::$USER_ID = $userid; }
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; }