Authored by hf

fixes some bugs to weixin pay

... ... @@ -842,7 +842,7 @@ class HomeController extends AbstractAction
$result['data']['appId'] = 'wx049fdaa3ba9cdd7a'; //'wx75e5a7c0c88e45c2';
$result['data']['signType'] = 'MD5';
$result['data']['package'] = 'prepay_id=' . isset($result['data']['prepayId']) ? $result['data']['prepayId'] : '';
$result['data']['paySign'] = isset($result['data']['sign']) ? strtolower($result['data']['sign']) : '';
$result['data']['paySign'] = isset($result['data']['sign']) ? strtoupper($result['data']['sign']) : '';
$this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => $result['data'])) );
}
... ...