作者 sgj

修改积分反馈相关规则

... ... @@ -167,8 +167,7 @@ class MissionJoin extends Model
$map['mission_id']=$mission_id;
$map['status']=0;
$map['deadtime']=['>',$now];
dump($map);
exit();
$return=$this->where($map)->find();
if (empty($return)){
return 0;
... ...
... ... @@ -103,8 +103,10 @@ class Clock extends Api
public function index(){
$Join=new MissionJoin();
$Mission=new \app\admin\model\Mission();
$now=time();
$where['mj.user_id']=$this->auth->id;
$where['mj.status']=['eq','0'];
$where['mj.deadtime']=['>',$now];
$list['my']=$Join->myMissionList($where);
$CheckLog=new ClockLog();
$check_map['user_id']=$this->auth->id;
... ...