彭汉田
Results
2
issues of
彭汉田
目前我这里只是一个想法,但是没有达到框架层直接使用的效果。 ``` type RowData struct { Username string `json:"username"` Password string`json:"password"` } // PostRow context provide the method to get the POST request row-data by key func (context *Context) PostRow(key...
integer conv to double err when mongo one collection data count max 2^31-1。 当mongo数据小于等于2^31-1时,mongo-client返回的为integer类型 当mongo数据大于2^31-1时,超过integer最大上限,mongo-client返回的为double类型。 所以需要判断类型,再做转换。不能统一用integer进行转换。