15 lines
392 B
TypeScript
15 lines
392 B
TypeScript
import request from '@/utils/http'
|
|
|
|
export type CustomerServiceDictType =
|
|
| 'sms_send_status'
|
|
| 'microbe_followup_status'
|
|
| 'fullmoon_followup_status'
|
|
| 'household_registered'
|
|
|
|
export function fetchCustomerServiceDict(dictType: CustomerServiceDictType | string) {
|
|
return request.get<{ list: string[] }>({
|
|
url: '/web/admin/customer-service-dict',
|
|
params: { dictType }
|
|
})
|
|
}
|