This commit is contained in:
suyl
2021-07-15 09:43:26 +08:00
parent 7c968cb91c
commit 647ed0a861

View File

@@ -169,6 +169,7 @@ func (c *ApiController) CallOpenAPI() {
}
success:
{
c.Ctx.ResponseWriter.Header().Set("Content-Type", "application/json; charset=utf-8")
callResult.Code = model.ErrCodeSuccess
if len(result) > 0 {
callResult.Data = result[0].Interface()