Browse Source

人才证时间按公布批次的日期+6年再多减-1天

sugangqiang 2 năm trước cách đây
mục cha
commit
cc3bc81500
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/common/api/VerifyApi.php

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

@@ -616,7 +616,7 @@ class VerifyApi {
                 $data["isPublic"] = 4;
                 $data["identifyMonth"] = $batch;
                 $data["certificateGetTime"] = $batch; //时间待定
-                $data["certificateExpireTime"] = date("Y-m-d", strtotime(sprintf("%s +6 years", $batch))); //时间待定
+                $data["certificateExpireTime"] = date("Y-m-d", strtotime(sprintf("%s +6 years -1 days", $batch))); //时间待定
                 break;
             case TalentState::PUBLISH_FAIL:
                 $data["isPublic"] = 4;