This commit is contained in:
yangsiqi1376@163.com
2023-11-02 15:01:08 +08:00
parent d16eb62d0d
commit 74db198aed
2 changed files with 21 additions and 12 deletions

View File

@@ -102,10 +102,11 @@ func (c *IMController) GetPoiIMStatus() {
b := bytes.NewBufferString(params.Data)
decoder := json.NewDecoder(b)
if err := decoder.Decode(&req); err == nil {
retVal, err := im.GetPoiIMStatus(req)
return retVal, "", err
retVal, hint := im.GetPoiIMStatus(req)
return retVal, hint, nil
} else {
return nil, "", err
}
return nil, "", nil
})
}