Merge branch 'refs/heads/feature-cid'
This commit is contained in:
commit
056ba827fc
|
|
@ -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