init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)

这个提交包含在:
Developer
2026-10-30 10:18:50 +08:00
当前提交 1f3e0ce2f6
共有 9291 个文件被更改,包括 1776674 次插入 和 0 次删除

查看文件

@@ -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失效',
);
}