sugangqiang пре 2 година
родитељ
комит
4f2ad1fce2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/common/api/VerifyApi.php

+ 1 - 1
app/common/api/VerifyApi.php

@@ -129,7 +129,7 @@ class VerifyApi {
                                     $timetype = "years";
                                     break;
                             }
-                            $fj_talent_info[2] = implode(":", [$tmp2, date("Y-m-d", strtotime("+{$validval} {$timetype}", strtotime($timeStart)))]);
+                            $fj_talent_info[2] = implode(":", [$tmp2, date("Y-m-d", strtotime("+{$validval} {$timetype} -1 days", strtotime($timeStart)))]);
                         }
                     }
                 }