pinyinCorrection.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. import { http } from '@/utils/http';
  2. // 添加拼音校正
  3. export function toolAddPinyinCorrection(data) {
  4. return http.post(`${process.env.VUE_APP_EepServer}?MethodName=tool-AddPinyinCorrection`, data);
  5. }
  6. // 删除拼音校正
  7. export function toolDeletePinyinCorrection(data) {
  8. return http.post(`${process.env.VUE_APP_EepServer}?MethodName=tool-DeletePinyinCorrection`, data);
  9. }
  10. // 得到词性列表
  11. export function toolGetCXList() {
  12. return http.post(`${process.env.VUE_APP_EepServer}?MethodName=tool-GetCXList`);
  13. }
  14. // 复制拼音校正到指定库
  15. export function toolCopyPinyinCorrectionToStorage(data) {
  16. return http.post(`${process.env.VUE_APP_EepServer}?MethodName=tool-CopyPinyinCorrectionToStorage`,data);
  17. }
  18. // 编辑拼音校正
  19. export function toolUpdatePinyinCorrection(data) {
  20. return http.post(`${process.env.VUE_APP_EepServer}?MethodName=tool-UpdatePinyinCorrection`, data);
  21. }
  22. // 得到词的拼音校正列表
  23. export function toolGetWordPinyinCorrectionList(data) {
  24. return http.post(`${process.env.VUE_APP_EepServer}?MethodName=tool-GetWordPinyinCorrectionList`, data);
  25. }