|
|
@@ -280,10 +280,10 @@ class Pub extends BaseController
|
|
|
$post["page"] = $post["page"] <= 0 ? 1 : (int)$post["page"];
|
|
|
$post["status"] = 1;
|
|
|
|
|
|
- Log::info('搜索条件:' . json_encode($post, JSON_UNESCAPED_UNICODE));
|
|
|
- $logPath = app()->getRuntimePath() . 'debug.txt';
|
|
|
- @file_put_contents($logPath, date('Y-m-d H:i:s') . ' | ' . json_encode($post, JSON_UNESCAPED_UNICODE) . "\r\n", FILE_APPEND);
|
|
|
- return app('json')->fail($post);
|
|
|
+// Log::info('搜索条件:' . json_encode($post, JSON_UNESCAPED_UNICODE));
|
|
|
+// $logPath = app()->getRuntimePath() . 'debug.txt';
|
|
|
+// @file_put_contents($logPath, date('Y-m-d H:i:s') . ' | ' . json_encode($post, JSON_UNESCAPED_UNICODE) . "\r\n", FILE_APPEND);
|
|
|
+// return app('json')->fail($post);
|
|
|
|
|
|
$data = (new UserModel)->getGoodApiWorkerList($post);
|
|
|
foreach ($data['list'] as &$item) {
|