Commit 52fb38eb authored by zhuwei's avatar zhuwei

1

parent 5bab1003
...@@ -444,7 +444,7 @@ class CostParameter extends Basic ...@@ -444,7 +444,7 @@ class CostParameter extends Basic
foreach ($id_value_json as $k => $v) { foreach ($id_value_json as $k => $v) {
if((isset($v['id']) && $v['id']> 0) && (isset($v['discounts']) && in_array($v['discounts'], [0,1]))) if((isset($v['id']) && $v['id']> 0) && (isset($v['discounts']) && in_array($v['discounts'], [0,1])))
$f_params['is_discounts'] = $v['discounts']; $f_params['is_discounts'] = $v['discounts'];
$this->updateStoreData($v['id'], $params); $this->updateStoreData($v['id'], $f_params);
} }
return $this->response("200", "成功"); return $this->response("200", "成功");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment