|
@@ -328,7 +328,7 @@ class FightProc {
|
|
|
UserProc::updateUserInfo();
|
|
|
return Resp::ok();
|
|
|
} else {
|
|
|
- return Resp::err(ErrCode::tower_refreshNo);
|
|
|
+ Err(ErrCode::tower_refreshNo);
|
|
|
}
|
|
|
} else {
|
|
|
list($type, $num) = explode(':', glc()->tower_refreshCost); # 二级货币类型(1:金币,2:元宝):数量
|
|
@@ -337,7 +337,7 @@ class FightProc {
|
|
|
} else if ($type == 2) { # 元宝
|
|
|
my_Assert(ctx()->base()->Consume_Cash($num), ErrCode::notenough_cash_msg);
|
|
|
} else {
|
|
|
- return Resp::err(ErrCode::err_const_no, "检查刷新扣费配置信息!");
|
|
|
+ Err(ErrCode::err_const_no, "检查刷新扣费配置信息!");
|
|
|
}
|
|
|
return Resp::ok();
|
|
|
}
|