|
@@ -60,7 +60,7 @@ class After extends Base
|
|
|
// $cgderid =$wsm['contactor'] ??0;
|
|
|
// }
|
|
|
|
|
|
- if ($oder['order_type'] == 3) {
|
|
|
+ if ($oder['order_type'] == 3||$oder['order_type'] == 4) {
|
|
|
$goon = Db::name("good_zixun")->where(["spuCode" => $oder['good_code'], "is_del" => 0])->find();
|
|
|
} else {
|
|
|
$goon = Db::name('good_platform')->alias('a')->join('good b', 'b.spuCode=a.spuCode', 'left')
|
|
@@ -302,7 +302,7 @@ class After extends Base
|
|
|
$info['order_type'] = $orderinfo['order_type'];
|
|
|
$info['sale_price'] = $orderinfo['sale_price'];
|
|
|
$info['total_price'] = sprintf("%1\$.2f", $orderinfo['sale_price'] * $info['error_num']);
|
|
|
- if ($orderinfo['order_type'] == 3) {
|
|
|
+ if ($orderinfo['order_type'] == 3 || $orderinfo['order_type'] == 4) {
|
|
|
$goon = Db::name("good_zixun")->where(["spuCode" => $orderinfo['good_code'], "is_del" => 0])->find();
|
|
|
} else {
|
|
|
$goon = Db::name('good_platform')->alias('a')->join('good b', 'b.spuCode=a.spuCode', 'left')
|
|
@@ -1416,7 +1416,7 @@ class After extends Base
|
|
|
|
|
|
|
|
|
//根据是否咨询类商品,分别处理
|
|
|
- if ($info['order_type'] == 3) return $this->createSaleZixun($info['id'], $info['good_code'], $info, $old_sale, $rm, $ri, $old_out['addrid'], $param['token']);
|
|
|
+ if ($info['order_type'] == 3||$info['order_type'] == 4) return $this->createSaleZixun($info['id'], $info['good_code'], $info, $old_sale, $rm, $ri, $old_out['addrid'], $param['token']);
|
|
|
else return $this->createSaleNotZixun($info['id'], $info['good_code'], $info, $old_sale, $rm, $ri, $old_out, $param['token']);
|
|
|
|
|
|
}
|