diff --git a/controllers/ApiController.php b/controllers/ApiController.php index 418a2dfe..12b9327e 100644 --- a/controllers/ApiController.php +++ b/controllers/ApiController.php @@ -537,7 +537,6 @@ class ApiController extends Controller { if ($datas['status'] == 10000) { $logs = $datas['data']; $infomation = []; - file_put_contents("test.txt", json_encode($logs)); foreach ($logs as $key => $value) { $result = true; if ($value['action'] == "insert_image") @@ -640,8 +639,6 @@ class ApiController extends Controller { $model = ListManagement::findOne(['staff_id' => $staff_id]); if (!$model) return false; - if (!$model) - file_put_contents("error.txt", $staff_id . "\n", FILE_APPEND); $images = json_decode($model->image, true); $ft = []; foreach ($images as $key => $value) {