'h5', 'ip' => '127.0.0.1', 'member_message' => '','recharge_money' => 12.00] $data = $this->request->params([ ['member_message', ''], ['recharge_money', 0] ]); $res = (new RechargeOrderService())->recharge($data); return success($res); } public function lists(){ $data = $this->request->params([ ['order_status', ''] ]); $res = (new RechargeOrderService())->getPage($data); return success($res); } /** * 查询充值订单详情 * @param int $order_id * @return Response */ public function detail(int $order_id){ $res = (new RechargeOrderService())->getDetail($order_id); return success($res); } }