Commit 17900568 by 杨树贤

修改请求获取fangshi“

parent df1a04f1
...@@ -60,13 +60,13 @@ class UserExchangesController extends Controller ...@@ -60,13 +60,13 @@ class UserExchangesController extends Controller
public function audit(Request $request, UserExchange $userExchange) public function audit(Request $request, UserExchange $userExchange)
{ {
$data = [ $data = [
'audit_reason' => $request->audit_reason, 'audit_reason' => $request->get('audit_reason'),
'audit_time' => time(), 'audit_time' => time(),
'update_time' => time(), 'update_time' => time(),
'audit_id' => $request->audit_id, 'audit_id' => $request->get('audit_id'),
'user_id' => $request->user_id, 'user_id' => $request->get('user_id'),
'audit_email' => $request->audit_email, 'audit_email' => $request->get('audit_email'),
'status' => $request->status, 'status' => $request->get('status'),
]; ];
$res = $userExchange->auditUserExchange($request->id, $request->exchange_amount, $data); $res = $userExchange->auditUserExchange($request->id, $request->exchange_amount, $data);
if ($res) { if ($res) {
......
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