更新
This commit is contained in:
parent
aa07cc9a50
commit
ab0d2e62fe
@ -30,14 +30,17 @@ use crmeb\jobs\ProductCopyJob;
|
||||
class Demo extends BaseController
|
||||
{
|
||||
public function index()
|
||||
{ return app('json')->success('修改成功');
|
||||
{
|
||||
return app('json')->success('修改成功');
|
||||
//[31,32,118,39,167,236,237,238,239]
|
||||
// return app('json')->success('修改成功');>whereIn('mer_id',[110,116,149,227,226,35,117,148,156,104,137,151,136,183,140,229,79,133,235])->
|
||||
|
||||
// $arr=Db::name('store_product')->whereIn('mer_id',[110,116,149,227,226,35,117,148,156,104,137,151,136,183,140,229,79,133,235])->where('is_del',1)->field('product_id')->select();
|
||||
// foreach($arr as $item){
|
||||
$arr=Db::name('store_product')->whereIn('mer_id',[31,32,118,39,167,236,237,238,239])->where('is_show',1)->where('stock',0)->field('product_id')->select();
|
||||
foreach($arr as $item){
|
||||
|
||||
// Queue::push(ProductCopyJob::class, ['product_id' => $item['product_id']]);//短信通知
|
||||
Queue::push(ProductCopyJob::class, ['product_id' => $item['product_id']]);//短信通知
|
||||
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ class CloudWarehouse extends BaseController
|
||||
if ($value['mer_labels'] == ',5,') {
|
||||
$list[$k]['mer_labels_name'] = '五日达';
|
||||
} else {
|
||||
$list[$k]['mer_labels_name'] = '次日达';
|
||||
$list[$k]['mer_labels_name'] = '同城';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -468,7 +468,7 @@ class Product extends BaseController
|
||||
if ($value['mer_labels'] == ',5,') {
|
||||
$select[$k]['mer_labels_name'] = '五日达';
|
||||
} else {
|
||||
$select[$k]['mer_labels_name'] = '次日达';
|
||||
$select[$k]['mer_labels_name'] = '同城';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user