working commit
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package handler
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"mstore/app/operator"
|
||||
"mstore/app/router"
|
||||
)
|
||||
@@ -10,5 +12,6 @@ func (hand *Handler) SendHello(rctx *router.Context) {
|
||||
|
||||
params := &operator.SendHelloParams{}
|
||||
res, _ := hand.oper.SendHello(params)
|
||||
rctx.SetStatus(http.StatusOK)
|
||||
hand.SendResult(rctx, res)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user