deliver_user_service.go 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package server
  2. import (
  3. "xiaoniaokuaiyan.com/xiaoniao/entity"
  4. )
  5. type DeliverUserService interface {
  6. GetOrderList(openid string, status, pageIndex, pageSize int) (interface{}, error)
  7. GetOrderListV2(openid string, pageIndex, pageSize int) (interface{}, error)
  8. GetOrderSign(orderId string) (interface{}, error)
  9. SaveOrderSign(signItem *entity.OrderSign) (interface{}, error)
  10. RegistDU(duItem *entity.DeliverUser) (interface{}, error)
  11. UpdateDU(duItem *entity.DeliverUser) (interface{}, error)
  12. CheckExam(*entity.DeliverUser, []entity.ExamQuestion) (interface{}, error)
  13. GetExamList() (interface{}, error)
  14. GetStudyList(string) (interface{}, error)
  15. GetStudyLog(string, string) (interface{}, error)
  16. AddStduyLog(entity.DeliverStudyLog) (interface{}, error)
  17. Get(string) (interface{}, error)
  18. GetDispatchOrders(city string) (interface{}, error)
  19. ScrambleOrder(duId int, orderId string) (interface{}, error)
  20. AddWorkdays(duId int, wds []string) (interface{}, error)
  21. GetNurseWorkdays(duId int) (interface{}, error)
  22. GetBills(duId int, pageIndex, pageSize int) (interface{}, error)
  23. GetAccountInfo(duId int) (interface{}, error)
  24. CancelWorkdays(duId int, wds []string) (interface{}, error)
  25. NurseWithdraw(duId int, money int) (interface{}, error)
  26. NurseScoreWithdraw(duid, money int) (interface{}, error)
  27. NurseMsg(duId int, pageIndex, pageSize int, city string) (interface{}, error)
  28. AddChatMsg(msgItem *entity.DeliverChatMsg) (interface{}, error)
  29. GetChatMsg(duId int, pageIndex int) (interface{}, error)
  30. UpdateNurseMsg(duId int) (interface{}, error)
  31. NurseSignIn(duId int) (interface{}, error)
  32. NurseScore(duId int) (interface{}, error)
  33. GetScoreBill(duId, pageIndex, pageSize int, typ string) (interface{}, error)
  34. GetIFStatus(string, string, int, int) (interface{}, error)
  35. DailyQuestion() (interface{}, error)
  36. CheckQuestion(duid int, q *entity.ExamQuestion) (interface{}, error)
  37. DetectInfoAdd(params []entity.DetectInfoParam) (bool, error)
  38. GetIsSkip(duId int, isSkip string) (bool, error)
  39. SendVCode(orderId string) error
  40. VerifyCode(orderId, vCode string) error
  41. GetProductExam(productid int) (interface{}, error)
  42. CheckProductExam(int, int, []entity.ProductQuestion) (interface{}, error)
  43. GetDeliverProductList(pageIndex, pageSize int) (interface{}, error)
  44. CheckDeliverPass(productId, duId int) (bool, error)
  45. GetProductDiscount(productId, duId int) (int, error)
  46. GetWikiByProductId(productId int) (interface{}, error)
  47. }