|
@@ -176,6 +176,24 @@ class UserController
|
|
|
->where('goods_type', 22)
|
|
->where('goods_type', 22)
|
|
|
->exists();
|
|
->exists();
|
|
|
|
|
|
|
|
|
|
+ $is_buy_jiashubao = Db::table('wa_payorder')
|
|
|
|
|
+ ->where('user_id', $request->user_data['id'])
|
|
|
|
|
+ ->where('is_pay', 2)
|
|
|
|
|
+ ->where('goods_type', 23)
|
|
|
|
|
+ ->exists();
|
|
|
|
|
+
|
|
|
|
|
+ $is_buy_xianshangzhif = Db::table('wa_payorder')
|
|
|
|
|
+ ->where('user_id', $request->user_data['id'])
|
|
|
|
|
+ ->where('is_pay', 2)
|
|
|
|
|
+ ->where('goods_type', 25)
|
|
|
|
|
+ ->exists();
|
|
|
|
|
+
|
|
|
|
|
+ $is_buy_fangfushenj = Db::table('wa_payorder')
|
|
|
|
|
+ ->where('user_id', $request->user_data['id'])
|
|
|
|
|
+ ->where('is_pay', 2)
|
|
|
|
|
+ ->where('goods_type', 26)
|
|
|
|
|
+ ->exists();
|
|
|
|
|
+
|
|
|
$buy_sign['has'] = 1;
|
|
$buy_sign['has'] = 1;
|
|
|
$buy_sign['goods_data'] = [];
|
|
$buy_sign['goods_data'] = [];
|
|
|
|
|
|
|
@@ -275,6 +293,9 @@ class UserController
|
|
|
'is_buy_shoufukuan' => true,
|
|
'is_buy_shoufukuan' => true,
|
|
|
'is_buy_vipshengji' => $is_buy_vipshengji ? true : false,
|
|
'is_buy_vipshengji' => $is_buy_vipshengji ? true : false,
|
|
|
'is_buy_tisxyhh' => $is_buy_tisxyhh ? true : false,
|
|
'is_buy_tisxyhh' => $is_buy_tisxyhh ? true : false,
|
|
|
|
|
+ 'is_buy_jiashubao' => $is_buy_jiashubao ? true : false,
|
|
|
|
|
+ 'is_buy_xianshangzhif' => $is_buy_xianshangzhif ? true : false,
|
|
|
|
|
+ 'is_buy_fangfushenj' => $is_buy_fangfushenj ? true : false,
|
|
|
'is_buy_sign' => $buy_sign,
|
|
'is_buy_sign' => $buy_sign,
|
|
|
'total_sign' => $total_sign,
|
|
'total_sign' => $total_sign,
|
|
|
'dynamic_pass' => $dynamic_pass,
|
|
'dynamic_pass' => $dynamic_pass,
|