|
|
@@ -3,13 +3,11 @@ |
|
|
|
namespace app\admin\service; |
|
|
|
|
|
|
|
use app\admin\command\Util; |
|
|
|
use app\admin\model\OrderHotel; |
|
|
|
use app\admin\model\OrderItem; |
|
|
|
use app\admin\model\OrderMain; |
|
|
|
use app\admin\model\Purchase; |
|
|
|
use app\admin\model\PurchasePrice; |
|
|
|
use think\Exception; |
|
|
|
use think\Url; |
|
|
|
use app\admin\dao\OrderHotelDao; |
|
|
|
use app\admin\dao\OrderItemDao; |
|
|
|
use app\admin\dao\OrderMainDao; |
|
|
|
use app\admin\dao\PurchaseDao; |
|
|
|
use app\admin\dao\PurchasePriceDao; |
|
|
|
|
|
|
|
/** |
|
|
|
* Created by PhpStorm. |
|
|
@@ -217,7 +215,7 @@ class OrderMainService |
|
|
|
$orderMainDao = new OrderMainDao(); |
|
|
|
$orderMainDao->setOrderAmount($subOrderRe['data']['order_id']); |
|
|
|
return Util::returnArrSu("成功"); |
|
|
|
}catch (Exception $e){ |
|
|
|
}catch (\Exception $e){ |
|
|
|
return Util::returnArrEr("删除子订单失败:".$e->getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|