作者 lyh

gx

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