|
@@ -62,18 +62,18 @@ class Index extends Controller
|
|
|
*/
|
|
|
public function createOrder()
|
|
|
{
|
|
|
- $redis = new \think\cache\driver\Redis();
|
|
|
+ // $redis = new \think\cache\driver\Redis();
|
|
|
// $info = Db::name('store_collection')->where('id',30)->find();
|
|
|
// $info['is_deleted'] = 0;
|
|
|
// $info['sell_time'] = '2022-04-21 15:53:04';
|
|
|
// $info['buy_count'] = '10000';
|
|
|
// $array = ['collection30'=>json_encode($info)];
|
|
|
// $redis->hMSet('collectionInfo',$array);
|
|
|
- $redis->set('collection_count_30',5000);
|
|
|
+ // $redis->set('collection_count_30',5000);
|
|
|
// dump($info);die;
|
|
|
// die;
|
|
|
// $redis->set('is_buy_30',1);
|
|
|
- die;
|
|
|
+// die;
|
|
|
|
|
|
|
|
|
$this->uid = '100000';
|