* Add list function for mr control(staging).

This commit is contained in:
dingguodong
2021-08-13 17:35:29 +08:00
parent e0b0777126
commit 753fb1b2cd
+8 -1
View File
@@ -30,6 +30,14 @@ class mr extends control
$this->display();
}
public function list($repoID)
{
$gitlab = $this->mr->getGitlabProjectByRepo($repoID);
$resp = $this->mr->apiGetMRList($gitlab->gitlabID, $gitlab->projectID);
a($resp);
return $resp;
}
public function create()
{
}
@@ -38,7 +46,6 @@ class mr extends control
{
}
public function update()
{
}