Commit ebd98f1c authored by huanle's avatar huanle

0529

parent 1050492f
......@@ -54,7 +54,7 @@ class Index extends Controller
if ($res['code']>=0) {
return json(code([$res], 0, '添加成功'));
return json(code([], 0, '添加成功'));
} else {
return json(code([], 10002, '添加失败'));
}
......@@ -180,9 +180,9 @@ class Index extends Controller
if ($res) {
return json(code([$res], 0, '添加成功'));
return json(code([], 0, '添加成功'));
} else {
return json(code([$res], 10002, '添加失败'));
return json(code([], 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