|
@@ -6,6 +6,8 @@ use App\Modules\Book\Services\BookSubscribleChapterService;
|
|
|
use App\Modules\Subscribe\Services\ChapterOrderService;
|
|
|
use App\Modules\YunQi\Models\BookUser;
|
|
|
use App\Modules\YunQi\Models\YqUserBidRelation;
|
|
|
+use App\Modules\YunQi\Models\YqZsyTest;
|
|
|
+use App\Modules\YunQi\Services\YqZsyTestService;
|
|
|
use GuzzleHttp\Client;
|
|
|
use Illuminate\Console\Command;
|
|
|
|
|
@@ -372,6 +374,8 @@ class BookTest extends Command
|
|
|
if($from_bids){
|
|
|
foreach ($from_bids as $from_bid){
|
|
|
$bid = $from_bid->from_bid;
|
|
|
+ $test = YqZsyTestService::getByBid($bid);
|
|
|
+ if($test) continue;
|
|
|
$time = $from_bid->created_at->format('Y-m-d H:i:s');
|
|
|
$fee = $chapter_model->where('uid',$item->uid)
|
|
|
->where('bid',$bid)
|