定义了analyzePublicArticle接口

This commit is contained in:
Xu Chang 2023-06-05 17:42:01 +08:00
parent 89498e443e
commit b2902445ac
1 changed files with 12 additions and 0 deletions

View File

@ -52,6 +52,18 @@ class WechatSDK {
throw new Error(`${type} not implemented`);
}
}
/**
*
* @param url
*/
async analyzePublicArticle(url: string): Promise<{
title: string;
publishDate: Date;
imageList: string[];
}> {
throw new Error('method not implemented');
}
}
const SDK = new WechatSDK();