This commit is contained in:
wangjinlei
2024-09-29 16:58:05 +08:00
parent 9df9cf42ef
commit 4a84c9f21c
4 changed files with 109 additions and 14 deletions

View File

@@ -191,6 +191,7 @@ class User extends Base
->where('user_id',$data['user_id'])
->where('journal_id',$data['journal_id'])
->where('end_date','>',time())
->where("state",0)
->find();
if($check){
return jsonError('Already exists');