上传木桩解锁
This commit is contained in:
parent
327c9727f0
commit
4a62c18b3c
@ -48,13 +48,6 @@ func (this *apiComp) UnLock(session comm.IUserSession, req *pb.PracticeUnLockReq
|
|||||||
filed = "pillarf"
|
filed = "pillarf"
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
if pillar.Isunlock != 1 {
|
|
||||||
errdata = &pb.ErrorData{
|
|
||||||
Code: pb.ErrorCode_ReqParameterError,
|
|
||||||
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
pillar.Isunlock = 2
|
pillar.Isunlock = 2
|
||||||
if room.Pillarf.Isunlock == 0 {
|
if room.Pillarf.Isunlock == 0 {
|
||||||
room.Pillarf.Isunlock = 2
|
room.Pillarf.Isunlock = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user