|
@@ -1249,11 +1249,11 @@ class After extends Base
|
|
|
$goodinfo = Db::name('good')
|
|
|
->alias('g')
|
|
|
->field('g.*,gp.skuCode')
|
|
|
- ->leftJoin('good_platform gp', 'gp.spuCode=g.spuCode AND gp.exam_status=6')
|
|
|
+ ->join('good_platform gp', 'gp.spuCode=g.spuCode AND gp.exam_status=6')
|
|
|
->where('g.spuCode', $spuCode)
|
|
|
->find();
|
|
|
|
|
|
- if (empty($goodinfo)) return error_show(1005, '查不到这个商品');
|
|
|
+ if (empty($goodinfo)) return error_show(1005, '查不到这个商品,或该商品已下线无法售后');
|
|
|
|
|
|
$is_activity = $old_sale['is_activity'];
|
|
|
$actcode = $old_sale['activity_code'];
|