Compare commits
2 Commits
f82b3f22da
...
056ba827fc
| Author | SHA1 | Date |
|---|---|---|
|
|
056ba827fc | |
|
|
edb24274e6 |
|
|
@ -178,6 +178,10 @@ func CIDCallback(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
res := dao.FindCIDByIDAndToken(cid, token)
|
||||
if res.ID == 0 {
|
||||
c.JSON(200, gin.H{"error": "CID not found by id and token", "code": proto.OperationFailed, "message": "failed"})
|
||||
return
|
||||
}
|
||||
|
||||
user := dao.FindUserByUserID(res.Auth_id)
|
||||
if user.Run == false {
|
||||
|
|
|
|||
Loading…
Reference in New Issue