Commit 3413830a authored by huanle's avatar huanle

0525.

parent 037b3a90
...@@ -26,7 +26,7 @@ class Index extends Controller ...@@ -26,7 +26,7 @@ class Index extends Controller
if ($res) { if ($res) {
return json(code([$res], 0, 'ok')); return json(code([$res], 0, 'ok'));
} else { } else {
return json(code([], 10002, '请求失败')); return json(code([$res], 10002, '请求失败'));
} }
......
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