init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Distribution\Model;
|
||||
|
||||
/**
|
||||
* 分销员与客户绑定关系记录表
|
||||
* Class LinkModel
|
||||
* @package Distribution\Model
|
||||
*/
|
||||
class LinkModel extends \Common\Model\BaseModel
|
||||
{
|
||||
//客户与分销员中间表
|
||||
protected $tableName = 'distribution_link';
|
||||
protected $fields = array(
|
||||
'id', //int(11) NOT NULL AUTO_INCREMENT,
|
||||
'distributor_id', //int(11) DEFAULT '0' COMMENT '分销员id',
|
||||
'uid', //int(11) DEFAULT '0' COMMENT '客户id',
|
||||
'add_time', //int(11) DEFAULT '0' COMMENT '绑定时间',
|
||||
'binding_type', //tinyint(1) DEFAULT '1' COMMENT '绑定类型 1购买商品绑定 2点击链接绑定',
|
||||
'status', //tinyint(1) DEFAULT '1' COMMENT '1正常 0失效',
|
||||
);
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户