You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
zhishifufei_uniapp/api/merchant.js

130 lines
3.1 KiB

import http from "@/utils/request";
export function getMerchantApplyStatus() {
return http.get("/merchant/is_apply", null, {
requireAuth: true
});
}
export function getVerify() {
return http.get("/merchant/is_verify", null, {
requireAuth: true
});
}
export function getMerchantProtocolInfo(data) {
return http.get("/merchant/index_api", data, {
requireAuth: true
});
}
export function getInstitution() {
return http.get("/merchant/institution", null, {
requireAuth: true
});
}
export function getInstitutionDetails(params) {
return http.get("/merchant/institutiondetails", params, {
requireAuth: true
});
}
export function getdelVerify(params) {
return http.get("/merchant/del_verify", params, {
requireAuth: true
});
}
export function getApplyData() {
return http.get("/merchant/apply_data", null, {
requireAuth: true
});
}
export function saveApply(data) {
return http.post("/merchant/apply", data, {
requireAuth: true
});
}
export function saveInstitutionApply(data) {
return http.post("/institution/InstitutionApply", data, {
requireAuth: true
});
}
export function getLecturerSpecialList(params) {
return http.get("/merchant/lecturer_special_list", params, {
requireAuth: true
});
}
export function getLecturerDownloadList(params) {
return http.get("/merchant/lecturer_download_list", params, {
requireAuth: true
});
}
export function getLecturerEventList(params) {
return http.get("/merchant/lecturer_event_list", params, {
requireAuth: true
});
}
export function getLecturerStoreList(params) {
return http.get("/merchant/lecturer_store_list", params, {
requireAuth: true
});
}
export function getProblemList(params) {
return http.get("/merchant/lecturer_test_list", params, {
requireAuth: true
});
}
export function getLecturerIncome(params) {
return http.get("/merchant/lecturer_income", params, {
requireAuth: true
});
}
export function getTeacherDetail(params) {
return http.get("/merchant/teacher_detail_api", params, {
requireAuth: true
});
}
export function getInstitutionDetail(params) {
return http.get("/institution/teacher_detail_api", params, {
requireAuth: true
});
}
export function getMerchantInfo(mer_id) {
return http.get("/merchant/info_api", { mer_id }, {
requireAuth: true
});
}
export function getFlowingWaterList(params) {
return http.get("/merchant/get_flowing_water_list", params, {
requireAuth: true
});
}
export function lecturerlist(params) {
return http.get("/merchant/get_lecturer_list", params, {
requireAuth: true
});
}
export function getIsFollow(params) {
return http.get("/merchant/is_follow", params, {
requireAuth: true
});
}
export function follow(params) {
return http.get("/merchant/user_follow", params, {
requireAuth: true
});
}
export function getFollowList(params) {
return http.get("/merchant/get_user_follow_list", params, {
requireAuth: true
});
}