package server import ( "xiaoniaokuaiyan.com/xiaoniao/entity" ) type DeliverUserService interface { GetOrderList(openid string, status, pageIndex, pageSize int) (interface{}, error) GetOrderListV2(openid string, pageIndex, pageSize int) (interface{}, error) GetOrderSign(orderId string) (interface{}, error) SaveOrderSign(signItem *entity.OrderSign) (interface{}, error) RegistDU(duItem *entity.DeliverUser) (interface{}, error) UpdateDU(duItem *entity.DeliverUser) (interface{}, error) CheckExam(*entity.DeliverUser, []entity.ExamQuestion) (interface{}, error) GetExamList() (interface{}, error) GetStudyList(string) (interface{}, error) GetStudyLog(string, string) (interface{}, error) AddStduyLog(entity.DeliverStudyLog) (interface{}, error) Get(string) (interface{}, error) GetDispatchOrders(city string) (interface{}, error) ScrambleOrder(duId int, orderId string) (interface{}, error) AddWorkdays(duId int, wds []string) (interface{}, error) GetNurseWorkdays(duId int) (interface{}, error) GetBills(duId int, pageIndex, pageSize int) (interface{}, error) GetAccountInfo(duId int) (interface{}, error) CancelWorkdays(duId int, wds []string) (interface{}, error) NurseWithdraw(duId int, money int) (interface{}, error) NurseScoreWithdraw(duid, money int) (interface{}, error) NurseMsg(duId int, pageIndex, pageSize int, city string) (interface{}, error) AddChatMsg(msgItem *entity.DeliverChatMsg) (interface{}, error) GetChatMsg(duId int, pageIndex int) (interface{}, error) UpdateNurseMsg(duId int) (interface{}, error) NurseSignIn(duId int) (interface{}, error) NurseScore(duId int) (interface{}, error) GetScoreBill(duId, pageIndex, pageSize int, typ string) (interface{}, error) GetIFStatus(string, string, int, int) (interface{}, error) DailyQuestion() (interface{}, error) CheckQuestion(duid int, q *entity.ExamQuestion) (interface{}, error) DetectInfoAdd(params []entity.DetectInfoParam) (bool, error) GetIsSkip(duId int, isSkip string) (bool, error) SendVCode(orderId string) error VerifyCode(orderId, vCode string) error GetProductExam(productid int) (interface{}, error) CheckProductExam(int, int, []entity.ProductQuestion) (interface{}, error) GetDeliverProductList(pageIndex, pageSize int) (interface{}, error) CheckDeliverPass(productId, duId int) (bool, error) GetProductDiscount(productId, duId int) (int, error) GetWikiByProductId(productId int) (interface{}, error) }