|
|
@@ -279,7 +279,7 @@ class util
|
|
|
$report = isset(Yii::$app->params['errorReport']) ? Yii::$app->params['errorReport'] : 0;
|
|
|
if ($report == 1) {
|
|
|
throw new \Exception($msg);
|
|
|
- return fale;
|
|
|
+ return false;
|
|
|
}
|
|
|
|
|
|
self::encode(['code' => 0, 'msg' => $msg, 'data' => []]);
|
|
|
@@ -290,7 +290,7 @@ class util
|
|
|
$report = isset(Yii::$app->params['errorReport']) ? Yii::$app->params['errorReport'] : 0;
|
|
|
if ($report == 1) {
|
|
|
throw new \Exception($msg);
|
|
|
- return fale;
|
|
|
+ return false;
|
|
|
}
|
|
|
self::encode(['code' => 0, 'msg' => $msg, 'data' => [], 'mask' => $mask, 'icon' => $icon, 'duration' => $duration]);
|
|
|
}
|