init
- 框架初始化 - 安装插件 - 修复PHP8.4报错
This commit is contained in:
25
application/admin/model/shopro/user/Invoice.php
Normal file
25
application/admin/model/shopro/user/Invoice.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\model\shopro\user;
|
||||
|
||||
use app\admin\model\shopro\Common;
|
||||
|
||||
class Invoice extends Common
|
||||
{
|
||||
protected $name = 'shopro_user_invoice';
|
||||
|
||||
// 追加属性
|
||||
protected $append = [
|
||||
'type_text',
|
||||
];
|
||||
|
||||
|
||||
public function typeList()
|
||||
{
|
||||
return [
|
||||
'person' => '个人',
|
||||
'company' => '企/事业单位',
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user