Commit 1a81ab1d by 杨树贤

修改错误码

parent 5ee03948
Showing with 2 additions and 2 deletions
...@@ -90,9 +90,9 @@ class IntegralsController extends Controller ...@@ -90,9 +90,9 @@ class IntegralsController extends Controller
$res = $integral->updateIntegral($id, $data); $res = $integral->updateIntegral($id, $data);
if (!$res) { if (!$res) {
return $this->Export(002, '更新红包信息失败'); return $this->Export(2, '更新红包信息失败');
} else { } else {
return $this->Export(2, 'ok'); return $this->Export(0, 'ok');
} }
} }
......
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 sign in to comment