Skip to content

Commit 7edf13e

Browse files
committed
test: offset error
1 parent 98a69ae commit 7edf13e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

laravel/app/Http/Repository/MultithreadingRepository.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
use App\Models\ApiExcel;
1313
use App\Models\ApiExcelLogs;
14+
use App\Models\Article;
1415
use Curl\Http;
1516
use GuzzleHttp\Pool;
1617
use GuzzleHttp\Client;
@@ -433,6 +434,8 @@ public function newRequest($url, $appkey)
433434

434435
// 处理 data 数据然后返回
435436
$returnArray = [];
437+
Article::insert(['content' => json_encode($this->data, JSON_UNESCAPED_UNICODE)]);
438+
Article::insert(['content' => json_encode($this->dataSet['data'], JSON_UNESCAPED_UNICODE)]);
436439
foreach ($this->data as $k => $v) {
437440
$returnArray[$k]['param'] = $this->dataSet['data'][$k];
438441
$returnArray[$k]['result'] = $v;

0 commit comments

Comments
 (0)