mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
修改优惠卷
This commit is contained in:
parent
f497b8fa6e
commit
3aed087cf3
@ -52,7 +52,7 @@ Route::group('product', function () {
|
||||
//修改商品状态
|
||||
Route::put('product/set_show/:id/:is_show', 'v1.product.StoreProduct/set_show')->option(['real_name' => '修改商品状态']);
|
||||
//商品快速编辑
|
||||
Route::put('product/set_product/:id', 'v1.product.StoreProduct/set_product')->option(['real_name' => '商品快速编辑']);
|
||||
// Route::put('product/set_product/:id', 'v1.product.StoreProduct/set_product')->option(['real_name' => '商品快速编辑']);
|
||||
//设置批量商品上架
|
||||
Route::put('product/product_show', 'v1.product.StoreProduct/product_show')->option(['real_name' => '设置批量商品上架']);
|
||||
//设置批量商品下架
|
||||
|
||||
@ -65,7 +65,7 @@ class StoreCouponIssueServices extends BaseServices
|
||||
foreach ($list as &$item) {
|
||||
$item['use_time'] = date('Y-m-d', $item['start_use_time']) . ' ~ ' . date('Y-m-d', $item['end_use_time']);
|
||||
}
|
||||
unset($where['type'], $where['receive_type']);
|
||||
// unset($where['type'], $where['receive_type']);
|
||||
$count = $this->dao->count($where);
|
||||
return compact('list', 'count');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user