Commit 622a6f46 authored by wwccw0591's avatar wwccw0591

jpush

parent 8a55bd0b
...@@ -62,12 +62,14 @@ class MemberCenterServiceModel extends \Business\AbstractModel ...@@ -62,12 +62,14 @@ class MemberCenterServiceModel extends \Business\AbstractModel
'canPush'=>(int)$pushSet['canPush'], 'canPush'=>(int)$pushSet['canPush'],
'sound'=>(int)$pushSet['sound'], 'sound'=>(int)$pushSet['sound'],
'vibrate'=>(int)$pushSet['vibrate'], 'vibrate'=>(int)$pushSet['vibrate'],
'timeDiff'=>$pushSet['timeDiff'],
); );
}else{ }else{
$pushSet=array( $pushSet=array(
'canPush'=>ApiConst::openMessae, 'canPush'=>ApiConst::openMessae,
'sound'=>ApiConst::openMessae, 'sound'=>ApiConst::openMessae,
'vibrate'=>ApiConst::openMessae, 'vibrate'=>ApiConst::openMessae,
'timeDiff'=>'',
); );
} }
return $pushSet; return $pushSet;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment