(创建门店商品逻辑类方法)
This commit is contained in:
parent
02ef21cb7c
commit
f0537ea234
@ -145,4 +145,12 @@ class StoreProductLogic extends BaseLogic
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function copy($id){
|
||||||
|
$find= StoreProduct::findOrEmpty($id);
|
||||||
|
if($find){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
22
app/common/model/store_branch_product/StoreBranchProduct.php
Normal file
22
app/common/model/store_branch_product/StoreBranchProduct.php
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\common\model\store_branch_product;
|
||||||
|
|
||||||
|
|
||||||
|
use app\common\model\BaseModel;
|
||||||
|
use think\model\concern\SoftDelete;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店商品属性值辅助表模型
|
||||||
|
* Class StoreBranchProduct
|
||||||
|
* @package app\common\model\store_branch_product
|
||||||
|
*/
|
||||||
|
class StoreProduct extends BaseModel
|
||||||
|
{
|
||||||
|
use SoftDelete;
|
||||||
|
protected $name = 'store_branch_product';
|
||||||
|
protected $deleteTime = 'delete_time';
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\common\model\store_branch_product_attr_value;
|
||||||
|
|
||||||
|
|
||||||
|
use app\common\model\BaseModel;
|
||||||
|
use think\model\concern\SoftDelete;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店商品辅助表模型
|
||||||
|
* Class StoreBranchProduct
|
||||||
|
* @package app\common\model\store_branch_product_attr_value
|
||||||
|
*/
|
||||||
|
class StoreProduct extends BaseModel
|
||||||
|
{
|
||||||
|
use SoftDelete;
|
||||||
|
protected $name = 'store_branch_product_attr_value';
|
||||||
|
protected $deleteTime = 'delete_time';
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user