admin_transfer_310_2
This commit is contained in:
@@ -363,10 +363,14 @@ class Customers extends Wxapp
|
||||
$level = $this->customers_model->get_sdata('level');
|
||||
$cfrom = $this->customers_model->get_sdata();
|
||||
$buy_time = $this->customers_model->get_sdata('btime');
|
||||
$show_btime = [];
|
||||
foreach ($buy_time as $key => $val) {
|
||||
$show_btime[] = ['id' => $key, 'name' => $val];
|
||||
}
|
||||
$data = [
|
||||
'level' => $level,
|
||||
'cfrom' => $cfrom,
|
||||
'buy_time' => $buy_time
|
||||
'buy_time' => $show_btime
|
||||
];
|
||||
return $data;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ class Receiver_customers_model extends HD_Model
|
||||
private $level = ['H', 'A', 'B', 'C', 'D'];
|
||||
private $cfrom_arr = ['自有资源', '平台分配', '素材推广', '私域活动'];
|
||||
private $cfrom_clues_arr = ['自然进店', '外展', 'DM', '转介绍', '其它', '网站', '外展外拓', '垂直媒体', '自媒体'];
|
||||
private $buy_time = [3, 7, 15, 30];
|
||||
private $buy_time = [3 => '3天(H级)', 7 => '7天(A级)', 15 => '15天(B级)', 30 => '30天 (C级)'];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user