dataLists(new GoodsCategoryLists()); } public function getQrCode() { $result = GoodsCategoryLogic::getQRCode(); if (false === $result) { return $this->fail(GoodsCategoryLogic::getError()); } return $this->success('生成二维码', [], 1, 1); } }