nim.js 415 Bytes
import { fetchBase } from '../fetch.js'

// 根据居民ID查询服务医生
export function getServiceDoc(params) {
    return fetchBase({ url: `/chronic-resident/v1/chronic-visit-record/service-doctor`, body: params, loading: true })
}

// 获取IM账号信息
export function getAccount(idCard) {
    return fetchBase({ url: `/chronic-resident/v1/chronic-resident-im/refresh-token/${idCard}`, loading: true })
}