This commit is contained in:
2023-05-11 13:10:18 +08:00
parent c3e1655996
commit 20dc8782c6
8 changed files with 10 additions and 429 deletions
+1
View File
@@ -139,6 +139,7 @@ class CouponService extends BaseService
$data['popup_title'] = "新人红包福利";
$popup_content = [
'user_coupon_id' => (string)$user_coupon->user_coupon_id, // 优惠卷金额
'coupon_price' => $value['coupon_price'], // 优惠卷金额
'application_scope' => $value['application_scope'], // 适用范围(1:全部 2:快速问诊 3:专家问诊 4:公益问诊 5:问诊购药)
'valid_type' => $value['valid_type'], // 有效类型(1:绝对时效,xxx-xxx时间段有效 2:相对时效 n天内有效)
+1
View File
@@ -532,6 +532,7 @@ class UserService extends BaseService
$params = array();
$params['user_id'] = $user_info['user_id'];
$params['popup_type'] = $popup_type;
$params['status'] = 0;
$popup = Popup::getList($params);
if (empty($popup)){
return success();