|
@@ -726,7 +726,7 @@ from order where dt>='{start}' {channel_op} group by formatDateTime(reg_time,'
|
|
|
count= len(data)
|
|
|
if count==0:
|
|
|
return [],0
|
|
|
- di={'cost':round(cost,2),'reg_amount':round(reg_amount,2),'roi':round(roi/count,4), 'new_follow_user':new_follow_user,
|
|
|
+ di={'cost':round(cost,2),'reg_amount':round(reg_amount,2),'roi':round(reg_amount/cost,4), 'new_follow_user':new_follow_user,
|
|
|
'new_follow_per_cost':round(new_follow_per_cost/count,2),'order_user':order_user,'order_count':order_count,
|
|
|
'order_user_per_cost':round(order_user_per_cost/count,2),'channel':'-','date':'总计','book':'-'
|
|
|
}
|