1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- import request from './request';
- export const getProvince = () => {
- return request({
- url: `area/PROVINCE`,
- method: 'get'
- })
- }
- export const getCityByPro = params => {
- return request({
- url: `area/CITY/${params.id}`,
- method: 'get'
- })
- }
- export const getDistrictByCity = params => {
- return request({
- url: `area/DISTRICT/${params.id}`,
- method: 'get'
- })
- }
- export const getLookUpDatas = (params) => {
- return request({
- url: `lookup/findByLookup/${params.type}`,
- method: 'get',
- data:{}
- }).then(res=>res.data)
- }
- export const findWxUserInfo = (params) => {
- return request({
- url: `wxuser/findWxUserInfo`,
- method: 'post',
- data:params
- }).then(res=>res.data)
- }
- export const wxUserUpdate = (params) => {
- return request({
- url: `wxuser/update`,
- method: 'post',
- data:params
- }).then(res=>res.data)
- }
|