- CreateCloudPayUrl(amount, title, description, reward, rt)
参数说明:amount:充值或打赏的金额,单位元;
title:订单名称,不要带有url限制的字符(例如:&);
description:商品描述或打赏留言,不要带有url限制的字符(例如:&);
reward:0为充值,1为打赏;
rt:true返回生成的加密url,false直接在新窗口中访问支付页。
若什么参数都不带则默认充值100元的交易币。
我下面的是不是错误了?
<a href="javascript:" onclick="CreateCloudPayUrl(5,标题,描述)">在线充值</a>