作者 赵彬吉

update

... ... @@ -36,7 +36,8 @@ class InquiryForm extends Base
'phone' => '电话',
'mobile' => '电话',
'message' => '询盘内容',
'company' => '公司名称'
'company' => '公司名称',
'file' => '文件'
];
if($field){
return $map[$field] ?? $field;
... ... @@ -70,6 +71,10 @@ class InquiryForm extends Base
unset($data['globalso-domain']);
unset($data['globalso-edition']);
unset($data['globalso-date']);
//数组key转为小写
$data = array_change_key_case($data, CASE_LOWER);
ksort($data);
$field = array_keys($data);
$sign = md5(json_encode($field));
... ...