Add (ai gen)
This commit is contained in:
@@ -77,6 +77,7 @@ public static function handle(string $seller, string $country_iso, Category $cat
|
||||
$shopee_seller_scrape->epoch = $epoch;
|
||||
$shopee_seller_scrape->filename = $filename;
|
||||
$shopee_seller_scrape->category_id = $category->id;
|
||||
$shopee_seller_scrape->last_ai_written_at = now();
|
||||
|
||||
if ($shopee_seller_scrape->save()) {
|
||||
return (object) compact('seller_shop_task', 'product_task', 'shopee_seller_scrape');
|
||||
|
||||
@@ -31,6 +31,7 @@ class ShopeeSellerScrape extends Model
|
||||
protected $casts = [
|
||||
'category_id' => 'int',
|
||||
'epoch' => 'int',
|
||||
'last_ai_written_at' => 'datetime',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
@@ -39,6 +40,7 @@ class ShopeeSellerScrape extends Model
|
||||
'country_iso',
|
||||
'epoch',
|
||||
'filename',
|
||||
'last_ai_written_at',
|
||||
];
|
||||
|
||||
public function category()
|
||||
|
||||
Reference in New Issue
Block a user