chenyc
2023-09-01 76c523770a033a63c99145a525572d51782be1fe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import request from '@/utils/axios'
import { confingInfoStore } from '@/stores/StoresConfing'
 
export function sendValidateCode(params: string) {
    return request({
        url: `${confingInfoStore().confingInfo.base_api}/user/info/sendValidateCode`,
        method: 'post',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
        data: params,
    })
}
export function getPatientInfo2(params: Object) {
    return request({
        url: `${confingInfoStore().confingInfo.base_api}/topic/getPatientInfo2`,
        method: 'post',
        data: params,
    })
}
export function updatePatient(params: Object) {
    return request({
        url: `${confingInfoStore().confingInfo.base_api}/topic/updatePatient`,
        method: 'post',
        data: params,
    })
}