Commit fb0002b0 authored by pengfei's avatar pengfei

update 团长分销-删除团长码字段-无用字段

parent b05c9448
...@@ -17,7 +17,7 @@ class ColonelDistributorColonel extends MysqlBase ...@@ -17,7 +17,7 @@ class ColonelDistributorColonel extends MysqlBase
const COLONEL_SOURCE_APPLY = 1; //用户申请 const COLONEL_SOURCE_APPLY = 1; //用户申请
const COLONEL_SOURCE_ADMIN = 2; //运营添加 const COLONEL_SOURCE_ADMIN = 2; //运营添加
const DEFAULT_COLUMN = ['colonel_id','user_id','take_place_id','phone','contact_name','colonel_distributor_code','colonel_source']; const DEFAULT_COLUMN = ['colonel_id','user_id','take_place_id','phone','contact_name','colonel_source'];
public static function getRecord(array $where, $column = '*') public static function getRecord(array $where, $column = '*')
......
...@@ -248,7 +248,6 @@ class ColonelService ...@@ -248,7 +248,6 @@ class ColonelService
'life_account_id' => $applyInfo['life_account_id'], 'life_account_id' => $applyInfo['life_account_id'],
'phone' => $applyInfo['phone'], 'phone' => $applyInfo['phone'],
'contact_name' => $applyInfo['contact_name'], 'contact_name' => $applyInfo['contact_name'],
'colonel_distributor_code' => '', //TODO 生成活动码
'colonel_source' => ColonelDistributorColonel::COLONEL_SOURCE_APPLY 'colonel_source' => ColonelDistributorColonel::COLONEL_SOURCE_APPLY
]; ];
return ColonelDistributorColonel::insertRecord($colonelData); return ColonelDistributorColonel::insertRecord($colonelData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment