index.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. import request from '../utils/request';
  2. export function employee_login(data, config) {
  3. return request({
  4. url: '/tianzong/appSysUser/employee_login',
  5. method: 'post',
  6. data: data,
  7. ...config
  8. })
  9. }
  10. // 寄件-寄件人信息
  11. export function getSendInfo(data) {
  12. return request({
  13. url: '/tianzong/client/without/getSendInfo',
  14. method: 'post',
  15. data: data,
  16. emulateJSON: true
  17. })
  18. }
  19. // 寄件-我的寄件
  20. export function saveMailDo(data) {
  21. return request({
  22. url: '/tianzong/client/without/saveMail.do',
  23. method: 'post',
  24. data: data,
  25. emulateJSON: true
  26. })
  27. }
  28. // 寄件-内部件
  29. export function saveInternal(data) {
  30. return request({
  31. url: '/tianzong/client/inside/save',
  32. method: 'post',
  33. data: data,
  34. emulateJSON: true
  35. })
  36. }
  37. // 寄件-内部件-收件人
  38. export function getUserByName(data) {
  39. return request({
  40. url: '/tianzong/user/getUserByName',
  41. method: 'post',
  42. data: data,
  43. emulateJSON: true
  44. })
  45. }
  46. // 我的寄件- 列表
  47. export function getListByUser(data) {
  48. return request({
  49. url: '/tianzong/client/inside/getListByUser',
  50. method: 'post',
  51. data: data,
  52. emulateJSON: true
  53. })
  54. }
  55. // 我的收件- 收件
  56. export function getExpressByUser(data) {
  57. return request({
  58. url: '/tianzong/client/inside/getExpressByUser',
  59. method: 'post',
  60. data: data,
  61. emulateJSON: true
  62. })
  63. }
  64. // 我的-个人信息
  65. export function getUserByUserId(data) {
  66. return request({
  67. url: '/tianzong/client/user/getUserByUserId',
  68. method: 'post',
  69. data: data,
  70. emulateJSON: true
  71. })
  72. }
  73. // 我的-修改个人信息
  74. export function UserUpdate(data) {
  75. return request({
  76. url: '/tianzong/client/user/update',
  77. method: 'post',
  78. data: data,
  79. emulateJSON: true
  80. })
  81. }
  82. //获取微信
  83. export function getWxConfig(data) {
  84. return request({
  85. url: '/tianzong/weixin/getWxConfig',
  86. method: 'post',
  87. data: data,
  88. emulateJSON: true
  89. })
  90. }
  91. //快递公司
  92. export function geLogisticsList(data) {
  93. return request({
  94. url: '/tianzong/set/geLogisticsList',
  95. method: 'post',
  96. data: data,
  97. emulateJSON: true
  98. })
  99. }