/*
 * @Author: your name
 * @Date: 2021-02-07 13:40:50
 * @LastEditTime: 2021-12-02 15:59:52
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue3-element-admin\src\api\modules\system.js
 */
// const Mock = require("mockjs"); //引入
const config = require("../config")

module.exports = {
    login: {
        url: config.base_url + "user/login",
        type: "post",
    },
    phoneLogin:{
        url: config.base_url + "user/phone_login",
        type: "post",
    },
    getCfg: {
        url: config.base_url + "cfg/get",
        type: "post",
    },
    weather:{
        url:config.base_url + "lz_weather7d/get/{organId}",
        type:"get"
    },
    townList:{
        url: config.base_url + "town/list",
        type:"get"
    },
    townDropdown:{
        url: config.base_url + "town/dropdown",
        type:"get"
    },
    getTown:{
        url: config.base_url + "town/get",
        type:"get"
    },
    getArea:{
        url: config.base_url + "lz_area/get",
        type:"get"
    },
    getDistrict:{
        url: config.base_url + "district/get",
        type:"get"
    },
    getGuangzhou:{
        url: config.base_url + "district/getGuangzhou",
        type:"get"
    },
    findGuangzhouDistrict:{
        url: config.base_url + "district/findGuangzhouDistrict",
        type:"get"
    }
};
