remove debug file

This commit is contained in:
dongpd 2022-06-24 14:26:17 +07:00
parent 26d240b3ad
commit 8758bb3692

View File

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