//payload 是json   
 DynamicJsonDocument  jsonBuffer(200);
    deserializeJson(jsonBuffer, payload);
    JsonObject root = jsonBuffer.as<JsonObject>();
    const char* user = root["user"];
    const char* date = root["date"];
    int state = root["state"];