//准备扫码支付下单请求参数 public static Map prepareScanMap(String scancode_type){ Map reqMap = new HashMap(); reqMap.put("service","active_scancode_order"); reqMap.put("charset",charset); reqMap.put("mer_id",mer_id); reqMap.put("sign_type",sign_type); reqMap.put("ret_url","http://www.baidu.com"); reqMap.put("notify_url","http://www.baidu.com"); reqMap.put("res_format",res_format); reqMap.put("version","4.0"); reqMap.put("goods_inf","测试商品"); reqMap.put("order_id",orderid); reqMap.put("mer_date",merdate); reqMap.put("amount","1"); reqMap.put("amt_type","RMB"); reqMap.put("scancode_type",scancode_type); return reqMap; }
添加回答
举报
0/150
提交
取消