splitted one operator module to file, account, image operators; splitted operator functions; etc
This commit is contained in:
@@ -10,12 +10,12 @@
|
||||
package handler
|
||||
|
||||
import (
|
||||
"mstore/app/operator"
|
||||
"mstore/app/imageoper"
|
||||
"mstore/app/router"
|
||||
)
|
||||
|
||||
func (hand *Handler) SendHello(rctx *router.Context) {
|
||||
params := &operator.SendHelloParams{}
|
||||
res, _ := hand.oper.SendHello(params)
|
||||
params := &imageoper.SendHelloParams{}
|
||||
res, _ := hand.imop.SendHello(params)
|
||||
hand.SendResult(rctx, res)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user