This commit is contained in:
weiz 2024-01-15 11:31:34 +08:00
parent 0aa531cd98
commit 0a3e9995f2

View File

@ -146,7 +146,7 @@ class CustomerDemandSolutionValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
if(!empty($value) && $value != '' && $value != '[]'){
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';