pull/1/head
wmc 10 months ago
parent 92dea53e82
commit 32a03a000b
  1. 1
      app/api/model/PreSaleLog.php
  2. 4
      app/command/test.php

@ -28,4 +28,5 @@ class PreSaleLog extends GoodsSpecRelModel
protected $pk = 'id';
protected $updateTime = false;
}

@ -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]);
//获取预约信息
//预约的用户推送消息
}

Loading…
Cancel
Save