mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 08:34:32 +08:00
初始化项目
This commit is contained in:
23
app/model/WxPublicAccount.php
Normal file
23
app/model/WxPublicAccount.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace app\model;
|
||||
|
||||
use think\Model;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin think\Model
|
||||
*/
|
||||
class WxPublicAccount extends Model
|
||||
{
|
||||
//
|
||||
public function getHeadImgAttr($value)
|
||||
{
|
||||
return get_source_link($value);
|
||||
}
|
||||
|
||||
public function getQrcodeUrlAttr($value)
|
||||
{
|
||||
return \get_source_link($value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user