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.
20 lines
539 B
20 lines
539 B
|
3 years ago
|
import request from "utils/axios.js";
|
||
|
|
//登录
|
||
|
|
const login = (params) => {
|
||
|
|
return request.postJson("/oil-identity/oilRefinery/loginCOMSByPwd", params);
|
||
|
|
};
|
||
|
|
//关联企业
|
||
|
|
const getRefineryByCustomerId = (phone) => {
|
||
|
|
return request.get(
|
||
|
|
`/oil-user/oilCustomerRefineryRelation/getRefineryByCustomerId/${phone}`
|
||
|
|
);
|
||
|
|
};
|
||
|
|
//路由
|
||
|
|
const getCustomerRouters = () => {
|
||
|
|
return request.get(
|
||
|
|
"/oil-identity/oilRefinery/getCustomerRouters/REFINERY_COMS_WEB"
|
||
|
|
);
|
||
|
|
};
|
||
|
|
|
||
|
|
export default { login, getRefineryByCustomerId, getCustomerRouters };
|