Switch to WebView2 host with embedded resources, save chat images by order, and support buyer photo replace/delete via rules, dHash matching, and optional model-assisted intent parsing.
16 lines
309 B
C++
16 lines
309 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "Json.h"
|
|
|
|
namespace pddai {
|
|
|
|
// 复刻 server/index.js 的 sendSmtpMail:失败抛 std::runtime_error(错误消息与 index.js:1413 一致)
|
|
class Smtp {
|
|
public:
|
|
static void Send(const json& config, const std::string& subject, const std::string& text);
|
|
};
|
|
|
|
}
|