...
|
...
|
@@ -484,7 +484,7 @@ class ActivityController extends AdminBaseController |
|
|
$openid=db('third_party_user')->where($userMap)->value('openid');
|
|
|
$formMap['user_id']=$join['user_id'];
|
|
|
$formMap['use_time']=0;
|
|
|
$formMap['expire_time']=['<',time()];
|
|
|
$formMap['expire_time']=['>',time()];
|
|
|
$form_id=\db('form_id')->where($formMap)->find();
|
|
|
\db('form_id')->where('form_id',$form_id['form_id'])->update(['use_time'=>time()]);
|
|
|
dump($form_id);
|
...
|
...
|
|