正在显示
1 个修改的文件
包含
6 行增加
和
1 行删除
@@ -1863,6 +1863,9 @@ class Car extends Base | @@ -1863,6 +1863,9 @@ class Car extends Base | ||
1863 | "reservation_time" => $reservation_time, | 1863 | "reservation_time" => $reservation_time, |
1864 | "create_time"=>time() | 1864 | "create_time"=>time() |
1865 | ]); | 1865 | ]); |
1866 | + if($rebook_fee>0){ | ||
1867 | + | ||
1868 | + | ||
1866 | $neworder=Db::name("order")->where("id", $id)->find(); | 1869 | $neworder=Db::name("order")->where("id", $id)->find(); |
1867 | $userinfo = Db::name('user') | 1870 | $userinfo = Db::name('user') |
1868 | ->where(['id' => $this->auth->id]) | 1871 | ->where(['id' => $this->auth->id]) |
@@ -1879,6 +1882,8 @@ class Car extends Base | @@ -1879,6 +1882,8 @@ class Car extends Base | ||
1879 | ]; | 1882 | ]; |
1880 | $f = \addons\epay\library\Service::submitOrder($params); | 1883 | $f = \addons\epay\library\Service::submitOrder($params); |
1881 | $this->success("请求成功", $f); | 1884 | $this->success("请求成功", $f); |
1885 | + }else{ | ||
1886 | + $this->success("改签成功"); | ||
1887 | + } | ||
1882 | } | 1888 | } |
1883 | - | ||
1884 | } | 1889 | } |
-
请 注册 或 登录 后发表评论