对照图片修改
if($from == 'weixin' || $from == 'weixinh5') {
$order['order_id'] = mt_rand(100, 999) . '_' . $order['order_id'];
}
$order['pay_type'] = $payType;
if(($count = strpos($notify->out_trade_no,'_')) !== false){
$notify->out_trade_no = substr($notify->out_trade_no,$count+1);
}

