调整商品分组价格计算
This commit is contained in:
parent
c2a5ee0fdc
commit
aee0609d17
@ -7,7 +7,6 @@ use app\common\model\store_product\StoreProduct;
|
||||
use app\common\model\store_product_group_price\StoreProductGroupPrice;
|
||||
use PhpOffice\PhpSpreadsheet\IOFactory;
|
||||
use support\Redis;
|
||||
use think\facade\Db;
|
||||
|
||||
class LocalController extends BaseAdminController
|
||||
{
|
||||
@ -118,7 +117,7 @@ class LocalController extends BaseAdminController
|
||||
if (count($update) > 0) {
|
||||
(new StoreProductGroupPrice())->saveAll($update);
|
||||
}
|
||||
return $this->success('插入成功:' . $count . '条');
|
||||
return $this->success('插入成功:' . count($insert) . '条,更新成功:' . count($update) . '条');
|
||||
}
|
||||
|
||||
public function fixCategory()
|
||||
|
Loading…
x
Reference in New Issue
Block a user