|
|
@@ -95,6 +95,12 @@ class UserController
|
|
|
->where('goods_type', 4)
|
|
|
->exists();
|
|
|
|
|
|
+ $is_buy_jihuo = Db::table('wa_payorder')
|
|
|
+ ->where('user_id', $request->user_data['id'])
|
|
|
+ ->where('is_pay', 2)
|
|
|
+ ->where('goods_type', 6)
|
|
|
+ ->exists();
|
|
|
+
|
|
|
$arr = [
|
|
|
'img' => !empty($request->user_data['img']) ? imageToBase64($request->user_data['img']) : '',
|
|
|
'uuid' => $request->user_data['uuid'],
|
|
|
@@ -131,6 +137,7 @@ class UserController
|
|
|
'is_buy_licai' => $is_buy_licai ? true : false,
|
|
|
'is_buy_ambassador' => $is_buy_ambassador ? true : false,
|
|
|
'is_buy_wealth' => $is_buy_wealth ? true : false,
|
|
|
+ 'is_buy_jihuo' => $is_buy_jihuo ? true : false,
|
|
|
'total_sign' => $total_sign,
|
|
|
'equity_value' => $system->equity_value,
|
|
|
'coin_value' => $system->coin_value,
|