Compare commits
No commits in common. "056ba827fc2b425d8f6bb4a5c6ae3e1535e3c471" and "f82b3f22dab804f15370925ee911a900fc929641" have entirely different histories.
056ba827fc
...
f82b3f22da
|
|
@ -178,10 +178,6 @@ func CIDCallback(c *gin.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
res := dao.FindCIDByIDAndToken(cid, token)
|
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)
|
user := dao.FindUserByUserID(res.Auth_id)
|
||||||
if user.Run == false {
|
if user.Run == false {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue