index.js 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. import request from '../utils/request';
  2. // 登录
  3. export function solicLogin(data, config) {
  4. return request({
  5. url: '/tianzong/appSysUser/solic_login',
  6. method: 'post',
  7. data: data,
  8. ...config
  9. })
  10. }
  11. // 首页-扫码
  12. export function appFindYourShipment(data, config) {
  13. return request({
  14. url: '/tianzong/express/appFindYourShipment',
  15. method: 'post',
  16. data: data,
  17. ...config
  18. })
  19. }
  20. // 快递出库-扫码
  21. export function appDeliveryPersonDeliveries(data, config) {
  22. return request({
  23. url: '/tianzong/express/appDeliveryPersonDeliveries',
  24. method: 'post',
  25. data: data,
  26. ...config
  27. })
  28. }
  29. //快件入库-通过手机号后四位获取信息
  30. export function appGetEmployeeInfoByPhone(data, config) {
  31. return request({
  32. url: '/tianzong/express/appGetEmployeeInfoByPhone',
  33. method: 'post',
  34. data: data,
  35. ...config
  36. })
  37. }
  38. //快件入库-快递物流配置列表
  39. export function appGeLogisticsList(data, config) {
  40. return request({
  41. url: '/tianzong/express/appGeLogisticsList',
  42. method: 'post',
  43. data: data,
  44. ...config
  45. })
  46. }
  47. //快件入库-入库
  48. export function appSaveExpressRecord(data, config) {
  49. return request({
  50. url: '/tianzong/express/appSaveExpressRecord',
  51. method: 'post',
  52. data: data,
  53. ...config
  54. })
  55. }
  56. //快件签收-快递单号查询
  57. export function appFindYourShipmentList(data, config) {
  58. return request({
  59. url: '/tianzong/express/appFindYourShipmentList ',
  60. method: 'post',
  61. data: data,
  62. ...config
  63. })
  64. }
  65. //快件签收-图片上传
  66. export function appUploadTheSignature(data) {
  67. return request({
  68. url: '/tianzong/express/appUploadTheSignature',
  69. method: 'post',
  70. data: data,
  71. // ...config
  72. })
  73. }
  74. //快件签收-提件
  75. export function appDelivery(data) {
  76. return request({
  77. url: '/tianzong/express/appDelivery',
  78. method: 'post',
  79. data: data,
  80. emulateJSON: true
  81. })
  82. }
  83. //派件查询-设为滞留
  84. export function appSetStrands(data) {
  85. return request({
  86. url: '/tianzong/express/appSetStrands',
  87. method: 'post',
  88. data: data,
  89. emulateJSON: true
  90. })
  91. }
  92. //派件查询-待派件
  93. export function appOutboundInquiry(data, config) {
  94. return request({
  95. url: '/tianzong/express/appOutboundInquiry',
  96. method: 'post',
  97. data: data,
  98. ...config
  99. })
  100. }
  101. //派件查询-详情
  102. export function appGetTheDetails(data, config) {
  103. return request({
  104. url: '/tianzong/express/appGetTheDetails',
  105. method: 'post',
  106. data: data,
  107. emulateJSON: true
  108. })
  109. }
  110. //数据图表
  111. export function appStatistics(data) {
  112. return request({
  113. url: '/tianzong/express/appStatistics',
  114. method: 'post',
  115. data: data,
  116. emulateJSON: true
  117. })
  118. }
  119. //修改密码
  120. export function LJYforgetPassword(data) {
  121. return request({
  122. url: '/tianzong/appSysUser/LJYforgetPassword',
  123. method: 'post',
  124. data: data,
  125. emulateJSON: true
  126. })
  127. }
  128. //获取信息
  129. export function getSysUserInfoByUserIdAPI(data) {
  130. return request({
  131. url: '/tianzong/personal/getSysUserInfoByUserId.do',
  132. method: 'post',
  133. data: data,
  134. emulateJSON: true
  135. })
  136. }