getFullUrl('/api/login/weixin'); $result[0]["third"] = "weixin"; //$result[1]["name"] = "QQ登录"; //$result[1]["url"] = $this->getFullUrl('/api/login/qq'); //$result[1]["third"] = "qq"; return $result; } /** @inject("ioc_factory") */ private $factory; /** * @property({"default":"@db"}) * @var PDO */ public $db; // 此处删除了代码 }