Store the customized Shopro mall so it can be kept on the remote.
Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\model\shopro\wechat;
|
||||
|
||||
use app\admin\model\shopro\Common;
|
||||
use traits\model\SoftDelete;
|
||||
|
||||
class Menu extends Common
|
||||
{
|
||||
protected $name = 'shopro_wechat_menu';
|
||||
|
||||
protected $type = [
|
||||
'rules' => 'json',
|
||||
'publishtime' => 'timestamp',
|
||||
];
|
||||
|
||||
// 追加属性
|
||||
protected $append = [
|
||||
'status_text'
|
||||
];
|
||||
|
||||
/**
|
||||
* 状态列表
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function statusList()
|
||||
{
|
||||
return [0 => '未发布', 1 => '已发布'];
|
||||
}
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户