|
|
@@ -6,6 +6,7 @@ use think\facade\Db;
|
|
|
use app\common\enum\RefundEnum;
|
|
|
use app\common\logic\BaseLogic;
|
|
|
use app\common\logic\RefundLogic;
|
|
|
+use app\common\model\goods\Goods;
|
|
|
use app\common\model\equity\UserEquity;
|
|
|
use app\common\model\refund\RefundRecord;
|
|
|
use app\common\model\equity\UserEquityLog;
|
|
|
@@ -36,6 +37,9 @@ class GroupActivityLogic extends BaseLogic
|
|
|
$detail['price'] = explode(",",$detail['price']);
|
|
|
$detail['participant_num'] = explode(",",$detail['participant_num']);
|
|
|
$detail['timestamp'] = time();
|
|
|
+ $goods = Goods::where('id',$detail['goods']['goods_id'])->field('service_image,goods_category_id')->findOrEmpty()->toArray();
|
|
|
+ $detail['goods'] = array_merge($detail['goods'],$goods);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
return $detail;
|