|
|
@@ -1778,8 +1778,8 @@ int DealGetResistData(const httplib::Request& req, const string token, char** js
|
|
|
if (mo.length() == 0 || mp.length() == 0 || starttime.length() == 0 || endtime.length() == 0)
|
|
|
return 400;
|
|
|
if (threshold.empty() == false) nThreshold = atoi(threshold.c_str());
|
|
|
- if (nThreshold < 30) nThreshold = 30;
|
|
|
- if (nThreshold > 500) nThreshold = 500;
|
|
|
+ //if (nThreshold < 30) nThreshold = 30;
|
|
|
+ //if (nThreshold > 500) nThreshold = 500;
|
|
|
COleDateTime odtStart, odtEnd;
|
|
|
try
|
|
|
{
|