派生自 development/c++

miyanhui
2019-02-13 bc66b495f7a38886d481bd75a578e435df53e1e8
QiaoJiaSystem/DataManagerServer/http_configserver.cpp
@@ -2528,7 +2528,7 @@
            std::string picDate = value["picDate"].asString();
            std::string imgKey = value["imgKey"].asString();
            //兼容旧版本
            if(imgKey=="undefined")
            if(imgKey=="undefined" || imgKey.empty())
            {
                return getAlarmImageByPicDateAndDevId(picDate,devId,response);
            }   
@@ -2644,7 +2644,7 @@
        std::string path;
        //兼容旧版本
        if(imgKey=="undefined")
        if(imgKey=="undefined"||imgKey.empty())
        {
            qint64 sub;
            path = getVideoPathByPicDate(picDate,devId,sub);