Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ast 生成错误, #103

Open
qiphon opened this issue Jul 13, 2022 · 0 comments
Open

ast 生成错误, #103

qiphon opened this issue Jul 13, 2022 · 0 comments

Comments

@qiphon
Copy link

qiphon commented Jul 13, 2022

要提提取的代码如下

import { BackendResponse } from './types';

const request = <T>(arg: T) => arg;

export const getNotice = (id: string | number) =>
  request<BackendResponse<any>>({
    url: `/query_as?id=${id}`,
  });
/** 查询消息详情  */
export const getMessage = (id: string | number) =>
  request<any>({
    url: `/query?id=${id}`,
  });

/* 通知单条读取 */
export const noticeReaded = (id: string | number) =>
  request<any>({
    method: 'post',
    url: `/noticeRead`,
    data: { id },
  });

debugger 的时候看到的 值如下

> noCommentText

'`,
  });
/** 查询消息详情  */
export const getMessage = (id: string | number) =>
  request;
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant