|
@@ -1664,7 +1664,7 @@ class User extends Api
|
|
|
if ($v['status'] == 1) {
|
|
|
if ($v['active']['refundendtime'] >= time()) {
|
|
|
$v['button_status'] = 1;
|
|
|
- } elseif ($v['active']['refundendtime'] < time() && $v['active']['starttime'] >= time()) {
|
|
|
+ } elseif ($v['active']['refundendtime'] < time() && $v['active']['signupendtime'] >= time()) {
|
|
|
$v['button_status'] = 2;
|
|
|
}
|
|
|
}
|
|
@@ -1698,7 +1698,7 @@ class User extends Api
|
|
|
if ($info['status'] == 1) {
|
|
|
if ($active['refundendtime'] >= time()) {
|
|
|
$info['button_status'] = 1;
|
|
|
- } elseif ($active['refundendtime'] < time() && $active['starttime'] >= time()) {
|
|
|
+ } elseif ($active['refundendtime'] < time() && $active['signupendtime'] >= time()) {
|
|
|
$info['button_status'] = 2;
|
|
|
}
|
|
|
}
|
|
@@ -1763,10 +1763,10 @@ class User extends Api
|
|
|
if (!$active) {
|
|
|
$this->success('活动不存在或已取消');
|
|
|
}
|
|
|
- if ($active['status'] == 1) {
|
|
|
- $this->error('活动已成行,不能修改信息');
|
|
|
- }
|
|
|
- if (time() <= $active['refundendtime'] || time() > $active['starttime']) {
|
|
|
+// if ($active['status'] == 1) {
|
|
|
+// $this->error('活动已成行,不能修改信息');
|
|
|
+// }
|
|
|
+ if (time() <= $active['refundendtime'] || time() > $active['signupendtime']) {
|
|
|
$this->error('当前时间段暂不可修改信息');
|
|
|
}
|
|
|
//查询是否申请过退款
|