|
|
|
@ -88,6 +88,7 @@ class Shop extends ShopModel |
|
|
|
|
if (!$this->validateForm($data)) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
$data['remark'] = json_encode($data['remark'], JSON_UNESCAPED_UNICODE); |
|
|
|
|
return $this->save($this->createData($data)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -101,6 +102,7 @@ class Shop extends ShopModel |
|
|
|
|
if (!$this->validateForm($data)) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
$data['remark'] = json_encode($data['remark'], JSON_UNESCAPED_UNICODE); |
|
|
|
|
return $this->save($this->createData($data)) !== false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|