Commit 28001921 authored by zhuwei's avatar zhuwei

1

parent 768ed6d2
......@@ -258,6 +258,7 @@ class CostParameter extends Basic
*/
public function updateStoreData($id,$params){
$data['id'] = $id;
$data['is_del'] = 0;
if((isset($params['is_discounts'])) && (in_array($params['is_discounts'], [0,1])))
$data['is_discounts'] = $params['is_discounts'];
......
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