| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- import request from "@/utils/request.js";
- // 商户信息
- export function getTechnician(data) {
- return request({
- method: 'get',
- url: '/technician/technician/getTechnician',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 切换上下班
- export function switchToOffline(data) {
- return request({
- method: 'get',
- url: '/technician/technician/switchToOffline',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 查询商户技能列表
- export function getSkillList(data) {
- return request({
- method: 'post',
- url: '/technician/technician/getSkillList',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 查询商户合同记录
- export function getContractRecords(data) {
- return request({
- method: 'get',
- url: '/technician/technician/getContractRecords',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 查询城市列表
- export function getCityList(data) {
- return request({
- method: 'get',
- url: '/cityOperationApplication/getCityList',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 保存城市运营申请
- export function saveCity(data) {
- return request({
- method: 'post',
- url: '/cityOperationApplication/saveCity',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 免车费设置
- export function saveFareSetting(data) {
- return request({
- method: 'post',
- url: '/project/fare/setting/save',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 查询未申请列表
- export function getNotApplyList(data) {
- return request({
- method: 'post',
- url: '/technician/technician/getNotApplyList',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 开通新服务
- export function applyForService(data) {
- return request({
- method: 'post',
- url: '/technician/technician/applyForService',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 更新商户项目
- export function updateMaProject(data) {
- return request({
- method: 'post',
- url: '/technician/technician/updateMaProject',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 重新申请开通
- export function updateApply(data) {
- return request({
- method: 'post',
- url: '/technician/technician/updateApply',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 查询待接单列表
- export function getWaitList(data) {
- return request({
- method: 'post',
- url: '/technician/technician/wait/list',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 查询我的评分列表
- export function getCommentList(data) {
- return request({
- method: 'post',
- url: '/order/comment/merchant/my/page',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
- // 查询商户的综合评分
- export function getCommentScore(data) {
- return request({
- method: 'get',
- url: '/order/comment/merchant/my/score',
- data,
- header: {
- 'Authorization': `tf:${uni.getStorageSync('access-token')}`
- }
- });
- }
|