|
|
@@ -57,7 +57,15 @@ class RechargeController extends BaseApiController
|
|
|
return $this->data($result);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ public function details()
|
|
|
+ {
|
|
|
+ $order_id = $this->request->get('order_id/d', 0);
|
|
|
+ $result = RechargeLogic::detail($order_id);
|
|
|
+ if (false === $result) {
|
|
|
+ return $this->fail(RechargeLogic::getError());
|
|
|
+ }
|
|
|
+ return $this->data($result);
|
|
|
+ }
|
|
|
/**
|
|
|
* @notes 充值配置
|
|
|
* @return \think\response\Json
|