@@ -117,7 +117,7 @@ class account_helper
private static function evaluate_param(&$rate_moneys)
{
- $param['make_type'] = \bonus\type::MakeSendType;
+ $param['make_type'] = \bonus\type::MakeEvaluateType;
$param['type_name'] = "订单评论奖励红包";
$param['fixed_money'] = 10;
$param['total_num'] = 1;
@@ -24,6 +24,7 @@ class type
const MakeOrderCancelType = 6;
const MakeRegisterType = 7;
const MakeInviteType = 8;
+ const MakeEvaluateType = 9;
const create_type = 0;
const load_type = 1;
@@ -678,6 +678,8 @@ class predeposit_helper
return "订单取消退款";
case bonus\type::MakeRegisterType:
return "新人福利";
+ case bonus\type::MakeEvaluateType:
+ return "评论奖励红包";
default:
return "";
}
@@ -361,7 +361,7 @@ class mem_relation
foreach ($contacts as $mobile)
$mobile = intval($mobile);
- if($this->member_mobile == $mobile || $mobile < 100000000000) { //自己不能订阅自己
+ if($this->member_mobile == $mobile || $mobile < 10000000000) { //自己不能订阅自己
continue;
@@ -75,7 +75,6 @@ class session
} else {
fcgi_setcookie("MPHPSESSID","{$sid}", -3600,'/','.lrlz.com');
- //session_destroy();//会触发destroy 和 close 函数
public function onOpen() {
@@ -616,7 +616,7 @@ class member_bonusControl extends mbMemberControl
case bonus\type::MakeSendType: //抢
case bonus\type::MakeShakeGainType: //摇
return $type->sender_name();
-
case bonus\type::MakeInviteType:
case bonus\type::MakeBonusRefundType: //退
case bonus\type::MakePayRefundType: