添加商品返补比例设置
This commit is contained in:
parent
5d81aa2385
commit
bf2748b22c
@ -25,7 +25,7 @@ class GoodsSubsidy extends Models
|
||||
|
||||
public function getSubsidyById($id)
|
||||
{
|
||||
$result = $this->where(['id' => $id, 'is_delete' => 0])->field('id, profit, subsidy')->find();
|
||||
$result = $this->where(['id' => $id, 'is_delete' => 0])->field('id, profit, subsidy, store_subsidy')->find();
|
||||
$result['profit'] = self::formatStr($result['profit']);
|
||||
$result['subsidy'] = self::formatStr($result['subsidy']);
|
||||
$result['store_subsidy'] = self::formatStr($result['store_subsidy']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user