Panda 3 months ago
parent
commit
a415ef3462
2 changed files with 3 additions and 0 deletions
  1. 2 0
      application/api/controller/Hotel.php
  2. 1 0
      application/extra/site.php

+ 2 - 0
application/api/controller/Hotel.php

@@ -96,6 +96,8 @@ class Hotel extends Api
     {
         $params = $this->request->param();
         $info = HotelRoomModel::where('id',$params['id'])->where('status',1)->find();
+        $info['business_license'] = cdnurl(config('site.business_license'));
+        $info['cancel_explain'] = '入住当天12点前可取消';
         return $this->success('success', $info);
     }
 

+ 1 - 0
application/extra/site.php

@@ -64,4 +64,5 @@ return array (
   'recharge_explain' => '1.充值金额只能在小善·潘多港湾中使用。
 2.充值金额无法提现,无法找零。
 3.充值金额永久有效',
+  'business_license' => '/uploads/20241210/bdafdca4bd272fafc8072cb43be5f782.png',
 );