|
|
@@ -74,7 +74,7 @@ class VoteOrder extends BaseModel
|
|
|
$voteInfo = Vote::valid()->find($voteJoinInfo['vid']);
|
|
|
if (!$voteInfo) return self::setErrorInfo('找不到投票活动信息', true);
|
|
|
if ($voteInfo['start_time'] > time()) {
|
|
|
- return self::setErrorInfo('活动未开始', true);
|
|
|
+ return self::setErrorInfo('投票未开始,开始时间:' . date('Y-m-d H:i:s', $voteInfo['start_time']), true);
|
|
|
//return app('json')->fail('活动未开始');
|
|
|
}
|
|
|
if ($voteInfo['end_time'] < time()) {
|