公众号验证码功能完成 yeah!!!

This commit is contained in:
2025-11-21 15:33:03 +08:00
parent ad35173301
commit 6330f6faa1
614 changed files with 31574 additions and 4571 deletions

View File

@@ -11,23 +11,23 @@ export class Conversations extends APIResource {
/**
* Create a conversation.
*/
create(body, options) {
create(body = {}, options) {
return this._client.post('/conversations', { body, ...options });
}
/**
* Get a conversation with the given ID.
* Get a conversation
*/
retrieve(conversationID, options) {
return this._client.get(path `/conversations/${conversationID}`, options);
}
/**
* Update a conversation's metadata with the given ID.
* Update a conversation
*/
update(conversationID, body, options) {
return this._client.post(path `/conversations/${conversationID}`, { body, ...options });
}
/**
* Delete a conversation with the given ID.
* Delete a conversation. Items in the conversation will not be deleted.
*/
delete(conversationID, options) {
return this._client.delete(path `/conversations/${conversationID}`, options);