```go
func AjaxReturn(code string, msg string) {
ret := make(map[string]interface{})
ret["code"] = code
ret["msg"] = msg
return ret
}
```
这样写的时候,return ret这一句有提示错误 :“too many arguments to return
have (map[string]interface {})
want ()”
有疑问加站长微信联系(非本文作者)