diff --git a/app/api/model/PreSaleLog.php b/app/api/model/PreSaleLog.php index 060d6a33..768447d5 100644 --- a/app/api/model/PreSaleLog.php +++ b/app/api/model/PreSaleLog.php @@ -28,4 +28,5 @@ class PreSaleLog extends GoodsSpecRelModel protected $pk = 'id'; protected $updateTime = false; + } diff --git a/app/command/test.php b/app/command/test.php index 67eb236d..b0a162df 100644 --- a/app/command/test.php +++ b/app/command/test.php @@ -10,6 +10,8 @@ use think\console\Input; use think\facade\Db; use app\api\model\{Goods as GoodsModel}; use app\api\model\PreSale; +use app\api\model\PreSaleMessage; +use app\api\model\PreSaleLog; // /www/server/php/74/bin/php /server/wwwroot/yanzong/think test class test extends Command @@ -39,6 +41,8 @@ class test extends Command //更改预售状态 PreSale::where('id', $v['id']) ->update(['is_change' => 1]); + //获取预约信息 + //预约的用户推送消息 }