mirror of
https://gitee.com/niucloud-team/niucloud
synced 2026-08-14 09:25:41 +08:00
up
This commit is contained in:
@@ -22,10 +22,19 @@ class WeappVersion extends BaseAdminController
|
||||
* @return Response
|
||||
*/
|
||||
public function weappCommit() {
|
||||
(new WeappVersionService())->add();
|
||||
$data = $this->request->params([
|
||||
['site_group_id', ""]
|
||||
]);
|
||||
$data['is_all'] = empty($data['site_group_id']) ? 1 : 0;
|
||||
(new WeappVersionService())->add($data);
|
||||
return success();
|
||||
}
|
||||
|
||||
|
||||
public function getSiteGroupCommitRecord() {
|
||||
return success(data:(new WeappVersionService())->getSiteGroupCommitRecord());
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取最后一次提交记录
|
||||
* @return Response
|
||||
@@ -35,7 +44,10 @@ class WeappVersion extends BaseAdminController
|
||||
}
|
||||
|
||||
public function commitRecord() {
|
||||
return success(data:(new WeappVersionService())->getPage());
|
||||
$data = $this->request->params([
|
||||
['site_group_id', ""]
|
||||
]);
|
||||
return success(data:(new WeappVersionService())->getPage($data));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user