index.ts 429 B

12345678910
  1. import { REQUEST_CONFIG } from '@/config';
  2. import { request, handle } from '@kasite/uni-app-base';
  3. /**
  4. * 查询文章列表
  5. */
  6. export const queryArticleList = async (queryData: any, options?: any) => {
  7. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/basic/BasicApi/QueryArticleList/callApiJSON.do`, queryData, options));
  8. return handle.catchPromiseNew(resp, () => resp, options);
  9. };