21 lines
483 B
Go
21 lines
483 B
Go
package dispatch
|
|
|
|
import (
|
|
"go_dreamfactory/comm"
|
|
"go_dreamfactory/pb"
|
|
|
|
"google.golang.org/protobuf/proto"
|
|
)
|
|
|
|
func (a *apiComp) WeekreceiveCheck(session comm.IUserSession, req *pb.DispatchWeekReciveReq) (code pb.ErrorCode) {
|
|
return
|
|
}
|
|
|
|
func (a *apiComp) Weekreceive(session comm.IUserSession, req *pb.DispatchWeekReciveReq) (code pb.ErrorCode, data proto.Message) {
|
|
|
|
rsp := &pb.DispatchWeekReciveResp{}
|
|
|
|
session.SendMsg(string(a.module.GetType()), "weekreceive", rsp)
|
|
return
|
|
}
|