* Rewrite program create page.

This commit is contained in:
wangyidong
2023-09-15 09:01:41 +08:00
parent b8a2405040
commit 55c1d808a3
11 changed files with 74 additions and 53 deletions
+1 -3
View File
@@ -96,9 +96,7 @@ class programTest
*/
public function createTest($data)
{
$_POST = $data;
$programID = $this->program->create();
$programID = $this->program->create((object)$data);
if(dao::isError()) return array('message' => dao::getError());