update tương ứng với db mới

This commit is contained in:
2020-12-09 17:13:48 +07:00
parent 24e3347d43
commit 75073b956d
8 changed files with 70 additions and 9 deletions

View File

@@ -71,7 +71,7 @@ class ApiController extends Controller {
"Staff" => $post["id"],
"Time" => $time,
"Image" => $fileName,
"Confidence" => $post["confidence"]
"Confidence" => strval($post["confidence"])
]);
Yii::$app->response->format = "json";
return ["status" => "success"];