正在显示
8 个修改的文件
包含
21 行增加
和
1 行删除
| @@ -60,7 +60,7 @@ class OnlineCheckLogic extends BaseLogic | @@ -60,7 +60,7 @@ class OnlineCheckLogic extends BaseLogic | ||
| 60 | 'project_id' => $this->param['id'], | 60 | 'project_id' => $this->param['id'], |
| 61 | 'created_manage_id' => $this->manager['id'], | 61 | 'created_manage_id' => $this->manager['id'], |
| 62 | 'optimist_mid' => $this->param['optimist_mid'], | 62 | 'optimist_mid' => $this->param['optimist_mid'], |
| 63 | - 'qa_mid' => $this->param['qa_mid'], | 63 | +// 'qa_mid' => $this->param['qa_mid'], |
| 64 | 'created_at'=>date('Y-m-d H:i:s') | 64 | 'created_at'=>date('Y-m-d H:i:s') |
| 65 | ]; | 65 | ]; |
| 66 | $rs = $this->model->add($data); | 66 | $rs = $this->model->add($data); |
| @@ -7,6 +7,9 @@ use App\Models\Base; | @@ -7,6 +7,9 @@ use App\Models\Base; | ||
| 7 | class AyrShare extends Base | 7 | class AyrShare extends Base |
| 8 | { | 8 | { |
| 9 | protected $table = 'gl_ayr_share'; | 9 | protected $table = 'gl_ayr_share'; |
| 10 | + //连接数据库 | ||
| 11 | +// protected $connection = 'custom_mysql'; | ||
| 12 | + | ||
| 10 | 13 | ||
| 11 | const COUNT = 3; | 14 | const COUNT = 3; |
| 12 | 15 |
| @@ -17,6 +17,9 @@ class Visit extends Base | @@ -17,6 +17,9 @@ class Visit extends Base | ||
| 17 | //设置关联表名 | 17 | //设置关联表名 |
| 18 | protected $table = 'gl_customer_visit'; | 18 | protected $table = 'gl_customer_visit'; |
| 19 | 19 | ||
| 20 | + //连接数据库 | ||
| 21 | +// protected $connection = 'custom_mysql'; | ||
| 22 | + | ||
| 20 | protected $appends = ['device_text']; | 23 | protected $appends = ['device_text']; |
| 21 | 24 | ||
| 22 | public static function deviceMap(){ | 25 | public static function deviceMap(){ |
-
请 注册 或 登录 后发表评论