| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- namespace app\common\model;
- class SystemAnnex extends BaseModel
- {
- /**
- * @var string
- */
- protected $name = 'system_annex';
- /**
- * @var array
- */
- protected $auto = [];
- /**
- * @var array
- */
- protected $insert = ['created_at','updated_at'];
- /**
- * @var array
- */
- protected $update = ['updated_at'];
- /**
- * 自动附件地址 -- 弃用
- * 等待优化
- *
- * @author 许祖兴 < zuxing.xu@lettered.cn>
- * @date 2020/7/1 1:12
- *
- * @param $value
- * @param $data
- * @return string
- */
- // public function getPathAttr($value, $data)
- // {
- // return ($data['driver'] == 'qiniu' ? 'http://q6tf36mtr.bkt.clouddn.com/'
- // : 'http://img.gxrrj.cn') . $value ;
- // }
- }
|