修复列表视图编码提示不正确

This commit is contained in:
2021-05-09 22:41:25 +08:00
parent c8aa6ac4bc
commit a792122da0
3 changed files with 9 additions and 6 deletions
+4 -2
View File
@@ -38,8 +38,10 @@ class CustomerHook
return $params;
}
public function onAfterStore($params) {
public function onAfterStore($params)
{
$master = $params['master'];
// 客户开票单位为空
$count = CustomerTax::where('customer_id', $master['id'])->count();
if ($count == 0) {
@@ -62,7 +64,7 @@ class CustomerHook
$ret = plugin_sync_api('postCustomer', $master);
if ($ret['error_code'] > 0) {
abort_error($ret['msg']);
}
}
return $params;
}