|
@@ -31,9 +31,8 @@ class shake_room extends base_room
|
|
|
$amount = intval($input['amount'] * 100 + 0.5);
|
|
|
if($amount === 0) return false;
|
|
|
|
|
|
- $type = proto_type::msg_stype_shakebonus;
|
|
|
- $content = $amount;
|
|
|
-
|
|
|
+ $type = proto_type::msg_type_shakebonus;
|
|
|
+ $content = $amount / 100;
|
|
|
|
|
|
$msgid = $this->record_message($userinfo['userid'],$type,$content);
|
|
|
if($msgid > 0) {
|