feat: 完成真实咨询提交闭环
This commit is contained in:
1 parent
16b0967dc5
commit
ba0069ae6d
9 files changed
+259
-70
No files matched your search
@@ -327,12 +327,15 @@ export class ApiClient {
|
||||
createCustomerInquirySubmission(
|
||||
formId: string,
|
||||
values: Record<string, unknown>,
|
||||
): Promise<unknown> {
|
||||
): Promise<InquirySubmission> {
|
||||
return this.request("/customer/inquiry-submissions", {
|
||||
method: "POST",
|
||||
body: { formId, values },
|
||||
});
|
||||
}
|
||||
listCustomerInquirySubmissions(): Promise<InquirySubmission[]> {
|
||||
return this.request("/customer/inquiry-submissions");
|
||||
}
|
||||
createCustomerSession(code: string): Promise<{ token: string }> {
|
||||
return this.request("/customer/session/wechat", { method: "POST", body: { code } });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user