跟进记录 添加极光

This commit is contained in:
“wanyongkang”
2024-12-02 17:21:58 +08:00
parent b9bd680fb1
commit f04273024c
2 changed files with 10 additions and 1 deletions

View File

@@ -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'];

View File

@@ -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'],