//实现java支付宝很简单,只要从支付宝官方下载
http://help.alipay.com/support/index_sh.htm下载程序,配置一下参数就OK了;
1.先到http://help.alipay.com/support/index_sh.htm下接口程序,右下角有个“接口资料下载”点击下载进入下载页面http://club.alipay.com/read.php?tid=9976972选择你要下载支付宝的接口类型;我是选择“支付宝即时到账收款接口”
2.解压以后,可以看到很多种版本语言的支付宝例子,选择你要的语言类型;这里我是选择的是“alipaydirect\alipaydirect\支付宝即时到帐接口\java\create_direct_pay_by_user_jsp_utf8”是UTR-8的程序;
3.将项目导入到你的开发平台上,也就是myeclipse平台上,就可以看到项目的结构了。然后配置支付宝,作为测试的话这里只要修改一个文件就可以了,其他文件都不需要修改的,这个文件就是“AlipayConfig.java”里面的//
↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
// 合作身份者ID,以2088开头由16位纯数字组成的字符串
public static String partner = '';
// 交易安全检验码,由数字和字母组成的32位字符串
public static String key = '';
// 签约支付宝账号或卖家收款支付宝帐户
public static String seller_email = '';
// 支付宝服务器通知的页面 要用 http://格式的完整路径,不允许加?id=123这类自定义参数
// 必须保证其地址能够在互联网中访问的到
public static String notify_url = 'http://www.xxx.cn/create_direct_pay_by_user_jsp_utf8/notify_url.jsp';
// 当前页面跳转后的页面 要用 http://格式的完整路径,不允许加?id=123这类自定义参数
// 域名不能写成http://localhost/create_direct_pay_by_user_jsp_utf8/return_url.jsp ,否则会导致return_url执行无效
public static String return_url = 'http://127.0.0.1:8080/create_direct_pay_by_user_jsp_utf8/return_url.jsp';
//↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
4.然后开启服务器,运行index.jsp页面就可以看到效果了;
5.若需要了解具体得信息,在下载的文件里面有一个帮助文档PDF文件“支付宝即时到账接口集成教程.pdf”和“即时到账交易接口(create_direct_pay_by_user).pdf”;
在这个“alipaydirect\alipaydirect\支付宝即时到帐接口\java\create_direct_pay_by_user_jsp_utf8\”还有一个“readme.txt”帮助文件;仔细看一下帮助文档就可以明白的!
接下来用一点实例更加详细的解释一下:
1:拥有自己的支付宝企业账号。去产品商店选择适合自己的方案。并签约合同。
2:选择合适的商家收款产品并去签约。填写相应的信息
3:在商家服务会有PID和KEY是关键的东西。
4:选择自己签约的产品类型,下载对应的接口api与测试代码
5:alipaydirect_bankpay_single 测试
在核心代码alipayconfig需要更改自己的partner和key
6:网银银行简码
网银银行简码 |
|
|
|
BOCB2C | 中国银行 |
ICBCB2C | 中国工商银行 |
ICBCBTB | 中国工商银行(B2B) |
CMB | 招商银行 |
CCB | 中国建设银行 |
CCBBTB | 中国建设银行(B2B) |
ABC | 中国农业银行 |
ABCBTB | 中国农业银行(B2B) |
SPDB | 上海浦东发展银行 |
SPDBB2B | 上海浦东发展银行(B2B) |
CIB | 兴业银行 |
GDB | 广东发展银行 |
SDB | 深圳发展银行 |
CMBC | 中国民生银行 |
COMM | 交通银行 |
CITIC | 中信银行 |
CEBBANK | 光大银行 |
NBBANK | 宁波银行 |
HZCBB2C | 杭州银行 |
SHBANK | 上海银行 |
SPABANK | 平安银行 |
BJRCB | 北京农村商业银行 |
fdb101 | 富滇银行 |
PSBC-DEBIT | 中国邮政储蓄银行 |
BJBANK | 北京银行 |
7:错误代码错误说明
误代码 | 说明 |
EXPARTNER_INFO_UNCORRECT | 传入外部商户接口信息不正确 |
TRADE_BUYER_NOT_MATCH | 买家账户与交易中不一致 |
TRADE_SELLER_NOT_MATCH | 卖家账户与交易中不一致 |
TRADE_DATA_NOT_MATCH | 请求数据与交易中不一致 |
SELLER_NOT_IN_SPECIFIED_SELLERS | 卖家不在指定的商户限制卖家中 |
ILLEGAL_SIGN | 签名验证出错 |
ILLEGAL_ARGUMENT | 输入参数有错误 |
HASH_NO_PRIVILEGE | 没有权限访问该服务 |
ILLEGAL_SERVICE | service参数不正确 |
ILLEGAL_PARTNER | 合作身份者ID不正确 |
HAS_NO_PUBLICKEY | 没有上传公钥 |
USER_NOT_EXIST | 会员不存在 |
OUT_TRADE_NO_EXIST | 外部交易号已经存在 |
TRADE_NOT_EXIST | 交易不存在 |
ILLEGAL_PAYMENT_TYPE | 无效支付类型 |
BUYER_NOT_EXIST | 买家不存在 |
SELLER_NOT_EXIST | 卖家不存在 |
BUYER_SELLER_EQUAL | 买家、卖家是同一帐户 |
ILLEGAL_SIGN_TYPE | 签名类型不正确 |
COMMISION_ID_NOT_EXIST | 佣金收取帐户不存在 |
COMMISION_SELLER_DUPLICATE | 收取佣金帐户和卖家是同一帐户 |
出现的错误代码为ILLEGAL_PARTNER_EXTERFACE
1、没有签约这个接口的合同。
2、签约了相应的接口合同,但没有生效。
3、签约了相应的接口合同,但由于违规违法等原因被审核部门强制关闭。
8:页面需要修改的东西alipayapi.jsp
9:跳转页面第6步有截图。卖家账号收款的账号。不是付款的账号哦。
如果调试登录了收款的支付宝账号。会出错的哦。错误截图如下
错误代码:BUYER_SELLER_EQUAL
如果调试登录了收款的支付宝账号。而且页面填写的卖家账号非卖家账号(收款账号)会出现如下错误
错误代码:SELLER_NOT_IN_SPECIFIED_SELLERS
如果没有错误。则会直接跳转付款页面。输入买家账号即可。
10:成功付款的页面。付款页面需要输入购买用户的支付宝账号和支付密码
11:使用springMVC封装写符合自己网站需求的代码。以下代码仅参考
这个是ALIPAYAPI代码要获取数据的
- <code class='hljs javascript'><span class='hljs-built_in'>Date</span> date = <span class='hljs-keyword'>new</span> <span class='hljs-built_in'>Date</span>();
- <span class='hljs-comment'>//支付类型 必填 不必修改</span>
- <span class='hljs-built_in'>String</span> payment_type = <span class='hljs-string'>'1'</span>;
-
- <span class='hljs-comment'>//服务器异步通知页面路径</span>
- <span class='hljs-comment'>//需http://格式的完整路径,不能加?id=123这类自定义参数</span>
- <span class='hljs-built_in'>String</span> notify_url = <span class='hljs-string'>'http://localhost:8080/alipay/async'</span>;
-
- <span class='hljs-comment'>//页面跳转同步通知页面路径</span>
- <span class='hljs-comment'>//需http://格式的完整路径,不能加?id=123这类自定义参数,不能写成http://localhost/</span>
- <span class='hljs-built_in'>String</span> return_url = <span class='hljs-string'>'http://192.168.0.222:8080/alipay/return_url'</span>;
-
- <span class='hljs-comment'>//订单名称</span>
- <span class='hljs-comment'>//必填</span>
- <span class='hljs-comment'>// String subject = new String(request.getParameter('WIDsubject').getBytes('ISO-8859-1'),'UTF-8');</span>
- <span class='hljs-built_in'>String</span> subject = <span class='hljs-keyword'>new</span> <span class='hljs-built_in'>String</span>(<span class='hljs-string'>'测试商品'</span>.getBytes(<span class='hljs-string'>'ISO-8859-1'</span>),<span class='hljs-string'>'UTF-8'</span>);
-
- <span class='hljs-comment'>//付款金额</span>
- <span class='hljs-comment'>//必填</span>
- <span class='hljs-comment'>// String total_fee = new String(request.getParameter('WIDtotal_fee').getBytes('ISO-8859-1'),'UTF-8');</span>
- <span class='hljs-built_in'>String</span> total_fee = <span class='hljs-string'>'0.01'</span>;
-
-
- <span class='hljs-built_in'>Map</span><<span class='hljs-built_in'>String</span>, <span class='hljs-built_in'>String</span>> sParaTemp = <span class='hljs-keyword'>new</span> HashMap<<span class='hljs-built_in'>String</span>, <span class='hljs-built_in'>String</span>>();
- sParaTemp.put(<span class='hljs-string'>'service'</span>, <span class='hljs-string'>'create_direct_pay_by_user'</span>);<span class='hljs-comment'>//接口服务----即时到账</span>
- sParaTemp.put(<span class='hljs-string'>'partner'</span>, AlipayConfig.partner);<span class='hljs-comment'>//支付宝PID</span>
- sParaTemp.put(<span class='hljs-string'>'_input_charset'</span>, AlipayConfig.input_charset);<span class='hljs-comment'>//统一编码</span>
- sParaTemp.put(<span class='hljs-string'>'payment_type'</span>, payment_type);<span class='hljs-comment'>//支付类型</span>
- sParaTemp.put(<span class='hljs-string'>'notify_url'</span>, notify_url);<span class='hljs-comment'>//异步通知页面</span>
- sParaTemp.put(<span class='hljs-string'>'return_url'</span>, return_url);<span class='hljs-comment'>//页面跳转同步通知页面</span>
- sParaTemp.put(<span class='hljs-string'>'seller_email'</span>, Constants.SELLER_EMAIL);<span class='hljs-comment'>//卖家支付宝账号</span>
- sParaTemp.put(<span class='hljs-string'>'out_trade_no'</span>, date.getTime() payment_type);<span class='hljs-comment'>//商品订单编号</span>
- sParaTemp.put(<span class='hljs-string'>'subject'</span>, subject);<span class='hljs-comment'>//商品名称</span>
- sParaTemp.put(<span class='hljs-string'>'total_fee'</span>, total_fee);<span class='hljs-comment'>//价格</span>
-
- <span class='hljs-comment'>//建立请求</span>
- <span class='hljs-built_in'>String</span> sHtmlText = AlipaySubmit.buildRequest(sParaTemp, <span class='hljs-string'>'get'</span>, <span class='hljs-string'>'立即付款'</span>);
- request.setAttribute(<span class='hljs-string'>'sHtmlText'</span>, sHtmlText);
-
- <span class='hljs-keyword'>return</span> <span class='hljs-literal'>null</span>;</code>
付款是否成功的代码
- <code class='hljs javascript'> <span class='hljs-built_in'>Map</span><<span class='hljs-built_in'>String</span> , <span class='hljs-built_in'>String</span>> params = <span class='hljs-keyword'>new</span> HashMap<<span class='hljs-built_in'>String</span>, <span class='hljs-built_in'>String</span>>();
- <span class='hljs-built_in'>Map</span> requestParams = request.getParameterMap();
- <span class='hljs-keyword'>for</span> (Iterator iter = requestParams.keySet().iterator(); iter.hasNext();) {
- <span class='hljs-built_in'>String</span> name = (<span class='hljs-built_in'>String</span>) iter.next();
- <span class='hljs-built_in'>String</span>[] values = (<span class='hljs-built_in'>String</span>[]) requestParams.get(name);
- <span class='hljs-built_in'>String</span> valueStr = <span class='hljs-string'>''</span>;
- <span class='hljs-keyword'>for</span> (int i = <span class='hljs-number'>0</span>; i < values.length; i ) {
- valueStr = (i == values.length - <span class='hljs-number'>1</span> )? valueStr values[i]:valueStr values[i] <span class='hljs-string'>','</span>;
- }
- params.put(name, valueStr);
- }
- <span class='hljs-built_in'>String</span> tradeNo = request.getParameter(<span class='hljs-string'>'out_trade_no'</span>);
- <span class='hljs-built_in'>String</span> tradeStatus = request.getParameter(<span class='hljs-string'>'trade_status'</span>);
- <span class='hljs-keyword'>if</span>(AlipayNotify.verify(params)){
- <span class='hljs-keyword'>if</span>(tradeStatus.equals(<span class='hljs-string'>'TRADE_FINISHED'</span>) || tradeStatus.equals(<span class='hljs-string'>'TRADE_SUCCESS'</span>)){
- System.out.println(<span class='hljs-string'>'ok!>>>>>>>>'</span> tradeNo);
- }
- <span class='hljs-keyword'>return</span> <span class='hljs-string'>'success'</span>;
- }<span class='hljs-keyword'>else</span>{
- <span class='hljs-keyword'>return</span> <span class='hljs-string'>'fail'</span>;
- }
- }</code>
12:使用springMVC封装写符合自己网站需求的代码。以下代码仅参考 全部都写在一个Controller里面
- <code class='hljs typescript'><span class='hljs-comment'>/**
- * 支付宝Controller
- * @author 宗潇帅
- * @修改日期 2014-9-25下午1:29:53
- */</span>
- @Controller
- @RequestMapping(value=<span class='hljs-string'>'/aliapi'</span>)
- <span class='hljs-keyword'>public</span> <span class='hljs-keyword'>class</span> AlipayApiController {
-
- <span class='hljs-keyword'>private</span> <span class='hljs-keyword'>static</span> Log log = LogFactory.getLog(AlipayApiController.class);
-
- @RequestMapping(value=<span class='hljs-string'>'/index'</span>)
- <span class='hljs-keyword'>public</span> <span class='hljs-built_in'>String</span> index(HttpServletRequest request,
- HttpServletResponse response){
- <span class='hljs-keyword'>return</span> <span class='hljs-string'>'web/pay/fund'</span>;<span class='hljs-comment'>//付款的页面。本页面是为了测试而使用的</span>
- }
-
- @RequestMapping(value = <span class='hljs-string'>'/deposit'</span>, method = RequestMethod.POST,produces = <span class='hljs-string'>'application/json'</span>)
- <span class='hljs-keyword'>public</span> <span class='hljs-built_in'>String</span> deposit(HttpServletRequest request,HttpServletResponse response,Model model) throws Exception {
- <span class='hljs-comment'>// PrintWriter out = response.getWriter();</span>
- <span class='hljs-built_in'>String</span> result = <span class='hljs-string'>''</span>;
- <span class='hljs-built_in'>Date</span> date = <span class='hljs-keyword'>new</span> <span class='hljs-built_in'>Date</span>();
- <span class='hljs-comment'>// 支付类型 </span>
- <span class='hljs-comment'>// 必填,不能修改 </span>
- <span class='hljs-built_in'>String</span> payment_type = <span class='hljs-string'>'1'</span>;
- <span class='hljs-comment'>// 服务器异步通知页面路径 </span>
- <span class='hljs-comment'>// 需http://格式的完整路径,不能加?id=123这类自定义参数 </span>
- <span class='hljs-built_in'>String</span> notify_url = <span class='hljs-string'>'http://192.168.0.222:8080/live/aliapi/async'</span>;
- <span class='hljs-comment'>// 页面跳转同步通知页面路径 </span>
- <span class='hljs-comment'>// 需http://格式的完整路径,不能加?id=123这类自定义参数,不能写成http://localhost/ </span>
- <span class='hljs-built_in'>String</span> return_url = <span class='hljs-string'>'http://192.168.0.222:8080/live/aliapi/return_url'</span>;
- <span class='hljs-comment'>// 商户订单号. </span>
- <span class='hljs-comment'>// 商户网站订单系统中唯一订单号,必填 </span>
- <span class='hljs-comment'>//String out_trade_no = date.getTime() ''; </span>
- <span class='hljs-comment'>// 订单名称 </span>
- <span class='hljs-comment'>// 必填 </span>
- <span class='hljs-built_in'>String</span> subject = <span class='hljs-string'>'充值测试'</span>;
- <span class='hljs-comment'>// 防钓鱼时间戳 </span>
- <span class='hljs-comment'>// 若要使用请调用类文件submit中的query_timestamp函数 </span>
- <span class='hljs-built_in'>String</span> anti_phishing_key = <span class='hljs-string'>''</span>;
- <span class='hljs-comment'>// 客户端的IP地址 </span>
- <span class='hljs-comment'>// 非局域网的外网IP地址,如:221.0.0.1 </span>
- <span class='hljs-built_in'>String</span> exter_invoke_ip = <span class='hljs-string'>''</span>;
-
-
- <span class='hljs-built_in'>String</span> total_fee = ServletRequestUtils.getStringParameter(request, <span class='hljs-string'>'amount'</span>,<span class='hljs-string'>''</span>);
-
- <span class='hljs-built_in'>String</span> body = ServletRequestUtils.getStringParameter(request, <span class='hljs-string'>'body'</span>,<span class='hljs-string'>'test'</span>);
- <span class='hljs-comment'>//商品展示地址</span>
- <span class='hljs-built_in'>String</span> show_url = ServletRequestUtils.getStringParameter(request, <span class='hljs-string'>'show_url'</span>,<span class='hljs-string'>'http://www.elve.cn'</span>);
- <span class='hljs-comment'>//需以http://开头的完整路径,例如:http://www.xxx.com/myorder.html</span>
-
-
-
-
- Map<<span class='hljs-built_in'>String</span>, <span class='hljs-built_in'>String</span>> sParaTemp = <span class='hljs-keyword'>new</span> HashMap<<span class='hljs-built_in'>String</span>, <span class='hljs-built_in'>String</span>>();
- sParaTemp.put(<span class='hljs-string'>'service'</span>, <span class='hljs-string'>'create_direct_pay_by_user'</span>);<span class='hljs-comment'>//接口服务----即时到账</span>
- sParaTemp.put(<span class='hljs-string'>'partner'</span>, AlipayConfig.partner);<span class='hljs-comment'>//支付宝PID</span>
- sParaTemp.put(<span class='hljs-string'>'_input_charset'</span>, AlipayConfig.input_charset);<span class='hljs-comment'>//统一编码</span>
- sParaTemp.put(<span class='hljs-string'>'payment_type'</span>, payment_type);<span class='hljs-comment'>//支付类型</span>
- sParaTemp.put(<span class='hljs-string'>'notify_url'</span>, notify_url);<span class='hljs-comment'>//异步通知页面</span>
- sParaTemp.put(<span class='hljs-string'>'return_url'</span>, return_url);<span class='hljs-comment'>//页面跳转同步通知页面</span>
- sParaTemp.put(<span class='hljs-string'>'seller_email'</span>, Constants.SELLER_EMAIL);<span class='hljs-comment'>//卖家支付宝账号</span>
- sParaTemp.put(<span class='hljs-string'>'out_trade_no'</span>, date.getTime() payment_type);<span class='hljs-comment'>//商品订单编号</span>
- sParaTemp.put(<span class='hljs-string'>'subject'</span>, subject);<span class='hljs-comment'>//商品名称</span>
- sParaTemp.put(<span class='hljs-string'>'total_fee'</span>, total_fee);<span class='hljs-comment'>//价格</span>
- sParaTemp.put(<span class='hljs-string'>'body'</span>, body);
- sParaTemp.put(<span class='hljs-string'>'show_url'</span>, show_url);
- sParaTemp.put(<span class='hljs-string'>'anti_phishing_key'</span>, anti_phishing_key);
- sParaTemp.put(<span class='hljs-string'>'exter_invoke_ip'</span>, exter_invoke_ip);
-
- <span class='hljs-comment'>//建立请求</span>
- <span class='hljs-keyword'>try</span> {
- <span class='hljs-built_in'>String</span> sHtmlText = AlipaySubmit.buildRequest(sParaTemp,<span class='hljs-string'>'post'</span>,<span class='hljs-string'>'确认'</span>);
- Gson gson = <span class='hljs-keyword'>new</span> GsonBuilder().setDateFormat(<span class='hljs-string'>'yyyy-MM-dd HH:mm:ss'</span>).create();
- <span class='hljs-built_in'>String</span> s = gson.toJson(sHtmlText);
- model.addAttribute(<span class='hljs-string'>'sHtmlText'</span>, s);
- request.setAttribute(<span class='hljs-string'>'sHtmlText'</span>, s);
- result = <span class='hljs-string'>'{\'success\':true,\'msg\':\'跳转成功\'}'</span>;
- StringUtil.writeToWeb(sHtmlText, <span class='hljs-string'>'html'</span>, response);
- <span class='hljs-keyword'>return</span> <span class='hljs-literal'>null</span>;
- } <span class='hljs-keyword'>catch</span> (Exception e) {
- <span class='hljs-keyword'>if</span>(log.isErrorEnabled()){
- log.error(<span class='hljs-string'>'ddddddddddddddddddddd'</span>);
- }
- result = <span class='hljs-string'>'{\'success\':false,\'msg\':\'跳转失败,请稍候再试!\'}'</span>;
- StringUtil.writeToWeb(result, <span class='hljs-string'>'html'</span>, response);
- <span class='hljs-keyword'>return</span> <span class='hljs-literal'>null</span>;
- }
- }
- <span class='hljs-comment'>/**
- * 同步通知的页面的Controller
- * @param request
- * @param response
- * @return
- * @author 宗潇帅
- */</span>
- @RequestMapping(value=<span class='hljs-string'>'/return_url'</span>)
- <span class='hljs-keyword'>public</span> <span class='hljs-built_in'>String</span> Return_url(HttpServletRequest request,HttpServletResponse response){
- <span class='hljs-keyword'>return</span> <span class='hljs-string'>'web/pay/success'</span>;
- }
- <span class='hljs-comment'>/**
- * 异步通知付款状态的Controller
- * @param request
- * @param response
- * @return
- * @author 宗潇帅
- */</span>
- @SuppressWarnings(<span class='hljs-string'>'rawtypes'</span>)
- @RequestMapping(value=<span class='hljs-string'>'/async'</span>,method = RequestMethod.GET)
- <span class='hljs-keyword'>public</span> <span class='hljs-built_in'>String</span> async(HttpServletRequest request,
- HttpServletResponse response){
- Map<<span class='hljs-built_in'>String</span>,<span class='hljs-built_in'>String</span>> params = <span class='hljs-keyword'>new</span> HashMap<<span class='hljs-built_in'>String</span>,<span class='hljs-built_in'>String</span>>();
- Map requestParams = request.getParameterMap();
- <span class='hljs-keyword'>for</span> (Iterator iter = requestParams.keySet().iterator(); iter.hasNext();) {
- <span class='hljs-built_in'>String</span> name = (<span class='hljs-built_in'>String</span>) iter.next();
- <span class='hljs-built_in'>String</span>[] values = (<span class='hljs-built_in'>String</span>[]) requestParams.get(name);
- <span class='hljs-built_in'>String</span> valueStr = <span class='hljs-string'>''</span>;
- <span class='hljs-keyword'>for</span> (int i = <span class='hljs-number'>0</span>; i < values.length; i ) {
- valueStr = (i == values.length - <span class='hljs-number'>1</span>) ? valueStr values[i]: valueStr values[i] <span class='hljs-string'>','</span>;
- }
- params.put(name, valueStr);
- }
- <span class='hljs-built_in'>String</span> tradeNo = request.getParameter(<span class='hljs-string'>'out_trade_no'</span>);
- <span class='hljs-built_in'>String</span> tradeStatus = request.getParameter(<span class='hljs-string'>'trade_status'</span>);
- <span class='hljs-comment'>//String notifyId = request.getParameter('notify_id'); </span>
- <span class='hljs-keyword'>if</span>(AlipayNotify.verify(params)){<span class='hljs-comment'>//验证成功 </span>
- <span class='hljs-keyword'>if</span>(tradeStatus.equals(<span class='hljs-string'>'TRADE_FINISHED'</span>) || tradeStatus.equals(<span class='hljs-string'>'TRADE_SUCCESS'</span>)) {
- <span class='hljs-comment'>//要写的逻辑。自己按自己的要求写</span>
- log.error(<span class='hljs-string'>'ok.......'</span>);
- System.out.println(<span class='hljs-string'>'>>>>>充值成功'</span> tradeNo);
- }
- <span class='hljs-keyword'>return</span> <span class='hljs-string'>'web/pay/success'</span>;
- }<span class='hljs-keyword'>else</span>{<span class='hljs-comment'>//验证失败 </span>
- <span class='hljs-keyword'>return</span> <span class='hljs-string'>'web/pay/fail'</span>;
- }
-
- }
- }</code>
13:JSP付款页面表单提交数据并弹出付款页面
<%@ page contentType='text/html;charset=UTF-8' %><!DOCTYPE html><html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><%@ include file='/common/webMeta.jsp'%><title>www.elve.cn</title><meta content='www.elve.cn' name='keywords' /><meta content='www.elve.cn' name='description' /></head><script type='text/javascript'> $(function(){ $('#amount').focus(); $('#doSubmit').click(function(){ form1.submit(); });});</script><body> <form id='form1' action= '${ctx }/aliapi/deposit' method='post' target='_blank'> <table cellpadding='10'> <tr> <td>充值测试</td> <td class='balance' id='userBalance'></td> </tr> <tr> <td><i class='zfb'></i></td> <td style='padding-bottom: 0px;'>亲爱的<span class='suppliment_user' id='suppliment_user'></span>,您可以使用支付宝充值积善分,请填写以下信息 </td> </tr> <tr> <td></td> <td> 金额<input type='text' name='amount' id='amount'> </td> </tr> <tr> <td></td> <td><a href='javascript:void(0);' id='doSubmit' class='blank_btn'>确认</a></td> </tr> </table> </form> </body></html>
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。