Merge pull request 'zhangwei' (#172) from zhangwei into dev
Reviewed-on: #172
This commit is contained in:
commit
9302aa19f1
@ -146,7 +146,7 @@ class CustomerDemandSolutionValidate extends BaseValidate
|
|||||||
|
|
||||||
public function checkAnnex($value): bool|string
|
public function checkAnnex($value): bool|string
|
||||||
{
|
{
|
||||||
if(!empty($value) && $value != ''){
|
if(!empty($value) && $value != '' && $value != '[]'){
|
||||||
$annex = $value;//json_decode($value,true);
|
$annex = $value;//json_decode($value,true);
|
||||||
if(empty($annex) || !is_array($annex)){
|
if(empty($annex) || !is_array($annex)){
|
||||||
return '附件格式错误';
|
return '附件格式错误';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user