Explorar el Código

【Mod】修改抽奖代码注释

liuxiangxin hace 3 meses
padre
commit
a335df7cb0
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      app/Http/Controllers/Api/Lottery/Riddle.php

+ 1 - 2
app/Http/Controllers/Api/Lottery/Riddle.php

@@ -74,7 +74,7 @@ class Riddle extends Api{
 		// 接口验签
 		// $this->verify_sign();
 		// 检查登录
-		$uid							= 2;//$this->checkLogin();
+		$uid							= $this->checkLogin();
 		// 获取活动
 		$lotteryId						= request('lottery_id',0);
 		// 如果存在的话
@@ -87,7 +87,6 @@ class Riddle extends Api{
 		$data							= $Model->getOne($lotteryId);
 		// 如果存在的话
 		if( !$data )					return json_send(['code'=>'error','msg'=>'活动不存在或未开始','data'=>$data]);
-		dd($data);
 		// 活动时间判断
 		if( $data['start_time'] > time() ) return json_send(['code'=>'error','msg'=>'活动暂未开始','data'=>$data]);
 		// 活动时间判断