request->params([ ]); return success((new AppletVersionSiteService())->getPage($data)); } /** * 详情 * @param int $id * @return Response */ public function info(int $id) { return success((new AppletVersionSiteService())->getInfo($id)); } /** * 查询最后一个下载或升级的版本 * @param string $type * @return Response */ public function getLastVersion(string $type) { return success((new AppletVersionSiteService())->getLastVersion($type)); } /** * 查看可升级的最高版本 * @param string $type * @return Response */ public function getUpgradeVersion(string $type) { return success((new AppletVersionSiteService())->getUpgradeVersion($type)); } }