|
|
@@ -69,6 +69,7 @@ func QueryMiddleGoodsDetail(c *gin.Context) {
|
|
|
if d, err := m.GetData(); err == nil {
|
|
|
appG.Response(http.StatusOK, e.SUCCESS, d)
|
|
|
} else {
|
|
|
- appG.Response(http.StatusBadRequest, e.ERROR_QUERY_FAIL, nil)
|
|
|
+ //appG.Response(http.StatusBadRequest, e.ERROR_QUERY_FAIL, nil)
|
|
|
+ appG.Response(http.StatusOK, e.SUCCESS, nil)
|
|
|
}
|
|
|
}
|