1234567891011121314151617181920212223242526 |
- import {
- request
- } from '../libs/request.js';
- // 获取医生详细信息
- export function getDetailByIdApi(id) {
- return request({
- url: `/gunsApi/getDoctorById?id=${id}`
- })
- }
- //更新医生用户的详细信息
- export function updateDoctor(data) {
- return request({
- url: "/gunsApi/updateDoctor",
- header:{
- 'content-type':"application/x-www-form-urlencoded"
- },
- method:"POST",
- data
- })
- }
- //查询所有医生
- export function getListAll(data) {
- return request({
- url: "/gunsApi/getListAll"
- })
- }
|