|
|
|
@ -46,7 +46,7 @@ class PassFlow |
|
|
|
{ |
|
|
|
|
|
|
|
$granularity = $param['granularity']; |
|
|
|
$type = $param['type']; |
|
|
|
$type = isset($param['type']) ?$param['type']:''; |
|
|
|
|
|
|
|
if (empty($granularity)) return ['code' => 0, 'msg' => '缺少参数:granularity']; |
|
|
|
if (!in_array($granularity,self::$granularity)) return ['code' => 0, 'msg' => '参数错误:granularity']; |
|
|
|
|