check exitst images

This commit is contained in:
2020-12-16 13:39:07 +07:00
parent 04d467a73c
commit 4d6f1cbed8
5 changed files with 41 additions and 13 deletions

View File

@@ -159,6 +159,7 @@ class ApiController extends Controller {
}
public function actionResetData() {
return file_get_contents("https://bischool.beetai.com/view/image/5f7c1b22dfe5aaf427a6dfa1");
\Yii::$app->db->createCommand()->truncateTable('capture_logs')->execute();
\Yii::$app->db->createCommand()->truncateTable('list_management')->execute();
}