|
@@ -69,12 +69,15 @@ namespace TEAMModelOS.SDK.Services
|
|
|
{
|
|
|
|
|
|
//判断投票时间是否在起止时间内
|
|
|
- if (curr >= vote.startTime && curr <= vote.endTime)
|
|
|
+ // if (curr >= vote.startTime && curr <= vote.endTime)
|
|
|
+ if (curr >= vote.startTime)
|
|
|
{
|
|
|
string endField = null;
|
|
|
|
|
|
string Field = "";
|
|
|
- var endDtae = DateTimeOffset.FromUnixTimeMilliseconds(vote.endTime);
|
|
|
+ //放开投票
|
|
|
+ // var endDtae = DateTimeOffset.FromUnixTimeMilliseconds(vote.endTime);
|
|
|
+ var endDtae = DateTimeOffset.UtcNow;
|
|
|
RedisValue value;
|
|
|
switch (vote.times)
|
|
|
{
|
|
@@ -547,7 +550,8 @@ namespace TEAMModelOS.SDK.Services
|
|
|
if (survey != null)
|
|
|
{
|
|
|
//判断投票时间是否在起止时间内
|
|
|
- if (curr >= survey.startTime && curr <= survey.endTime)
|
|
|
+ // if (curr >= survey.startTime && curr <= survey.endTime)
|
|
|
+ if (curr >= survey.startTime )
|
|
|
{
|
|
|
if (request.TryGetProperty("record", out JsonElement _record))
|
|
|
{
|