Commit 48afabf0 by 王召彬

test

parent fb798a19
...@@ -18,7 +18,7 @@ class StoreEnum ...@@ -18,7 +18,7 @@ class StoreEnum
const E5205 = ['code'=>400, 'errCode'=>5205, 'msg'=>'xxxx']; const E5205 = ['code'=>400, 'errCode'=>5205, 'msg'=>'xxxx'];
public function getError($code) { public function getError($code) {
$reflect = new \ReflectionClass(ErrCode::class); $reflect = new \ReflectionClass(StoreEnum::class);
return $reflect->getConstant('E'.$code); 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