Store the customized Shopro mall so it can be kept on the remote.
Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\model\shopro\goods;
|
||||
|
||||
use app\admin\model\shopro\Common;
|
||||
|
||||
class Sku extends Common
|
||||
{
|
||||
protected $name = 'shopro_goods_sku';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = false;
|
||||
|
||||
protected $append = [
|
||||
];
|
||||
|
||||
public function children()
|
||||
{
|
||||
return $this->hasMany(self::class, 'parent_id')->order('weigh', 'desc');
|
||||
}
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户