remove debug file
This commit is contained in:
parent
26d240b3ad
commit
8758bb3692
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user