Commit 054e7373 by 王召彬

优化代码

parent dde23a1b
......@@ -23,7 +23,7 @@ class StoreError
const E5210 = ['code'=>400, 'errCode'=>5210, 'msg'=>'xxxx'];
public static function getError($code) {
$reflect = new \ReflectionClass(StoreEnum::class);
$reflect = new \ReflectionClass(StoreError::class);
return $reflect->getConstant('E'.$code);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment