package server import "xiaoniaokuaiyan.com/xiaoniao/entity" type OrderService interface { AddOrder(*entity.Order, int, string) (interface{}, error) Pay(*entity.Order, map[string]string) (interface{}, error) FailedOrder(string) (bool, error) CancelOrder(string) (bool, error) ListOrder(int, int, int, int, string, bool, bool) (interface{}, error) ListFileOrder(customId, pageIndex, pageSize, status int, mobile string, isZFB, isHis bool) (interface{}, error) OrderDetail(oid string) (interface{}, error) DelOrder(oid string) (bool, error) Refund(params map[string]string) (interface{}, error) OrderReport(oid, otype string) (interface{}, error) OrderUpdate(oitem *entity.Order, upType string) (interface{}, error) CommitSurvey(osItem *entity.OrderSurvey, uid int) (interface{}, error) PayQuery(oid string, extra map[string]string) (interface{}, error) WxPayCB(payResult map[string]string) WxPayQuery(extra map[string]string) (map[string]string, error) SaveCallbackInfo(info entity.OrderCallbackInfo) (interface{}, error) GetCallbackInfo(string) (interface{}, error) GetOrderInfoByCode(string) (interface{}, error) AddOrderInner(*entity.Order, int, string) (interface{}, error) GetOrderInfoByNurse(string, int) (interface{}, error) InsertAgent(orderId, openId, toopenId, customMobile string) (interface{}, error) AddOrderFCode(*entity.Order, int, string, string) (interface{}, error) OrderVaildCount(int, int, string) (interface{}, error) }