@@ -36,8 +36,6 @@ class Goods extends Base
"option.default" => ""
],$request->method());
if (!is_array($param)) return error($param);
- echo getDateFull()."===>商品详情\n";
- echo json_encode($param)."\n";
$data = $this->model->where("product_id",$param['goods'])->with(['poi' => function ($query) {
$query->field("poi_id,poi_name,poi_address,longitude,latitude,service_mobile,start_at,end_at,status");
},'skuSpecs'])->append(['otherImg'])->withAttr(['otherImg' => function ($qu,$resp) {
@@ -152,8 +152,6 @@ class Order extends Base
- echo getDateFull()."===>订单详情\n";
$order = $this->model->where("out_order_no",$param['order'])->with(['product','poi'])->append(['refund_num'])->withAttr(['refund_num' => function($data,$next){
return (new SaasOrderItem)->where(['order_sn' => $next['order_sn'],'status' => 2])->count();
}])->findOrEmpty();