query order
This commit is contained in:
parent
8d420e0d00
commit
2441203833
|
|
@ -79,7 +79,9 @@ func (this *CmbService) QueryOrder(ctx http.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.Response().Header().Add("Content-Type", "text/html; charset=utf-8")
|
ctx.Response().Header().Add("Content-Type", "text/html; charset=utf-8")
|
||||||
return ctx.String(http2.StatusOK, str)
|
ctx.Response().WriteHeader(http2.StatusOK)
|
||||||
|
_, err = ctx.Response().Write([]byte(str))
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *CmbService) QueryStock(ctx http.Context) error {
|
func (this *CmbService) QueryStock(ctx http.Context) error {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue