modified 错别字修正

This commit is contained in:
zhaoxiang 2018-04-08 10:34:34 +08:00
parent 91799e1c36
commit 784ed0d5cd
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class ApiPermission {
$userInfo = cache('Login:' . $ApiAuth);
$userInfo = json_decode($userInfo, true);
if (!$this->checkAuth($userInfo['id'], $route['route'])) {
$data = ['code' => ReturnCode::INVALID, 'msg' => '非常抱歉,您没有权限么做!', 'data' => []];
$data = ['code' => ReturnCode::INVALID, 'msg' => '非常抱歉,您没有权限么做!', 'data' => []];
return json($data, 200, $header);
}

View File

@ -128,7 +128,7 @@ class Index extends Base {
ReturnCode::RECORD_NOT_FOUND => '记录未找到',
ReturnCode::DELETE_FAILED => '删除失败',
ReturnCode::ADD_FAILED => '添加记录失败',
ReturnCode::UPDATE_FAILED => '添加记录失败',
ReturnCode::UPDATE_FAILED => '更新记录失败',
ReturnCode::PARAM_INVALID => '数据类型非法',
ReturnCode::ACCESS_TOKEN_TIMEOUT => '身份令牌过期',
ReturnCode::SESSION_TIMEOUT => 'SESSION过期',