|
@@ -6,6 +6,7 @@ use app\common\enum\PayEnum;
|
|
|
use app\common\enum\RefundEnum;
|
|
use app\common\enum\RefundEnum;
|
|
|
use app\common\model\BaseModel;
|
|
use app\common\model\BaseModel;
|
|
|
use app\common\model\master_worker\MasterWorker;
|
|
use app\common\model\master_worker\MasterWorker;
|
|
|
|
|
+use think\model\concern\SoftDelete;
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -15,7 +16,8 @@ use app\common\model\master_worker\MasterWorker;
|
|
|
*/
|
|
*/
|
|
|
class ShopOrders extends BaseModel
|
|
class ShopOrders extends BaseModel
|
|
|
{
|
|
{
|
|
|
-
|
|
|
|
|
|
|
+ use SoftDelete;
|
|
|
|
|
+ protected $deleteTime = 'delete_time';
|
|
|
protected $name = 'shop_orders';
|
|
protected $name = 'shop_orders';
|
|
|
protected $type = [
|
|
protected $type = [
|
|
|
'address_json'=> 'array'
|
|
'address_json'=> 'array'
|