|
...
|
...
|
@@ -20,7 +20,7 @@ class Product extends Base |
|
|
|
//设置关联表名
|
|
|
|
protected $table = 'gl_product';
|
|
|
|
//连接数据库
|
|
|
|
protected $connection = 'custom_mysql';
|
|
|
|
// protected $connection = 'custom_mysql';
|
|
|
|
const STATUS_DRAFT = 0;
|
|
|
|
const STATUS_ON = 1;
|
|
|
|
const STATUS_RECYCLE = 2;
|
...
|
...
|
|