diff --git a/app/manager/controller/SellInfo.php b/app/manager/controller/SellInfo.php index cb144e1..84e63cf 100644 --- a/app/manager/controller/SellInfo.php +++ b/app/manager/controller/SellInfo.php @@ -143,6 +143,7 @@ class SellInfo extends Controller $data['other_order_active'] = "其他IP产品:" . $sell_money_list['other_order_1']; $data['mogu_order_active'] = "蘑菇IP产品:" . $sell_money_list['mogu_order_1']; $data['jihu_order_active'] = "极狐IP产品:" . $sell_money_list['jihu_order_1']; + $data['jiguang_order_active'] = "极光IP产品:" . $sell_money_list['jiguang_order_1']; $data['recharge_active'] = "IP充值:" . $sell_money_list['recharge_1']; $data['http_active'] = "HTTP充值:" . $sell_money_list['http_1']; $data['ros_active'] = "ROS订单:" . $sell_money_list['ros_1']; @@ -150,6 +151,7 @@ class SellInfo extends Controller $data['other_order_not_active'] = "其他IP产品:" . $sell_money_list['other_order_0']; $data['mogu_order_not_active'] = "蘑菇IP产品:" . $sell_money_list['mogu_order_0']; $data['jihu_order_not_active'] = "极狐IP产品:" . $sell_money_list['jihu_order_0']; + $data['jiguang_order_not_active'] = "极光IP产品:" . $sell_money_list['jiguang_order_0']; $data['recharge_not_active'] = "IP充值:" . $sell_money_list['recharge_0']; $data['http_not_active'] = "HTTP充值:" . $sell_money_list['http_0']; $data['ros_not_active'] = "ROS订单:" . $sell_money_list['ros_0']; @@ -294,6 +296,7 @@ class SellInfo extends Controller $data['other_order_active'] = "其他IP产品:" . $sell_money_list['other_order_1']; $data['mogu_order_active'] = "蘑菇IP产品:" . $sell_money_list['mogu_order_1']; $data['jihu_order_active'] = "极狐IP产品:" . $sell_money_list['jihu_order_1']; + $data['jiguang_order_active'] = "极光IP产品:" . $sell_money_list['jiguang_order_1']; $data['recharge_active'] = "IP充值:" . $sell_money_list['recharge_1']; $data['http_active'] = "HTTP充值:" . $sell_money_list['http_1']; $data['ros_active'] = "ROS订单:" . $sell_money_list['ros_1']; @@ -301,6 +304,7 @@ class SellInfo extends Controller $data['other_order_not_active'] = "其他IP产品:" . $sell_money_list['other_order_0']; $data['mogu_order_not_active'] = "蘑菇IP产品:" . $sell_money_list['mogu_order_0']; $data['jihu_order_not_active'] = "极狐IP产品:" . $sell_money_list['jihu_order_0']; + $data['jiguang_order_not_active'] = "极光IP产品:" . $sell_money_list['jiguang_order_0']; $data['recharge_not_active'] = "IP充值:" . $sell_money_list['recharge_0']; $data['http_not_active'] = "HTTP充值:" . $sell_money_list['http_0']; $data['ros_not_active'] = "ROS订单:" . $sell_money_list['ros_0']; diff --git a/app/manager/controller/UserFollow.php b/app/manager/controller/UserFollow.php index 2614788..7237d83 100644 --- a/app/manager/controller/UserFollow.php +++ b/app/manager/controller/UserFollow.php @@ -290,6 +290,9 @@ class UserFollow extends Controller case 'jihu_order': $info['product_type'] = '极狐IP订单'; break; + case 'jiguang_order': + $info['product_type'] = '极光IP订单'; + break; case 'recharge': $info['product_type'] = 'IP充值'; break; @@ -368,6 +371,8 @@ class UserFollow extends Controller break; case 'jihu_order': $info['product_type'] = '极狐IP订单'; + case 'jiguang_order': + $info['product_type'] = '极光IP订单'; case 'recharge': $info['product_type'] = 'IP充值'; break; @@ -465,7 +470,7 @@ class UserFollow extends Controller 'sell_money' => 0, 'sell_type' => 0, ]; - if ($data['product_type'] == 'other_order' || $data['product_type'] == 'mogu_order' || $data['product_type'] == 'jihu_order') { + if ($data['product_type'] == 'other_order' || $data['product_type'] == 'mogu_order' || $data['product_type'] == 'jihu_order' || $data['product_type'] == 'jiguang_order') { $sell_where = [ 'UserId' => $data['user_id'], 'PaymentAmount' => $data['sell_money'],