unknown 3 месяцев назад
Родитель
Сommit
b093cf6575

+ 1 - 0
application/api/controller/GlluSalaryCalculation.php

@@ -0,0 +1 @@
+<?php

+ 1 - 1
application/api/controller/GluChronographSheet.php

@@ -250,7 +250,7 @@ class GluChronographSheet extends Api
         }
         $req = $this->request->param();
 
-        if (!(isset($req['UniqId']) && trim($req['UniqId'])!='')){
+        if (!isset($req['UniqId']) ||  empty($req['UniqId'])) {
             $this->error('参数错误','UniqId',100);
         }