1
This commit is contained in:
@@ -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天内有效)
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user