Store the customized Shopro mall so it can be kept on the remote.
Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\model\shopro\wechat;
|
||||
|
||||
use app\admin\model\shopro\Common;
|
||||
use traits\model\SoftDelete;
|
||||
|
||||
class Material extends Common
|
||||
{
|
||||
use SoftDelete;
|
||||
protected $deleteTime = 'deletetime';
|
||||
|
||||
protected $name = 'shopro_wechat_material';
|
||||
|
||||
protected $type = [
|
||||
'content' => 'json',
|
||||
];
|
||||
|
||||
// 追加属性
|
||||
protected $append = [
|
||||
'type_text'
|
||||
];
|
||||
|
||||
public function typeList()
|
||||
{
|
||||
return ['text' => '文字', 'link' => '链接'];
|
||||
}
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户