Commit 8aa2030c authored by rlgy's avatar rlgy

update

parent 67f52b1e
...@@ -14,11 +14,12 @@ class SiteController extends BaseController ...@@ -14,11 +14,12 @@ class SiteController extends BaseController
{ {
public function actionIndex() public function actionIndex()
{ {
return ['name' => 'rlgy', 'id' => 1]; return ['code' => '0', 'msg' => 'welcome to api!'];
} }
/** /**
* [通用Error错误处理] * [通用Error错误处理]
*
* @author: libingke * @author: libingke
* @return string * @return string
*/ */
......
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