开发者社区> 问答> 正文

谁帮我看看,这2个代码有啥不一样?报错

1.<form id="payform" name="payform" action="http://ceshi.allinpay.com/gateway/index.do" method="post">

2.<form id="payform" name="payform" action="http://ceshi.allinbuy.com/gateway/index.do" method="post">



今天在整,通联的支付接口。

上面2个同样的东西,第一个写法就能正常访问,可是第二2个就报错,

<%--<form id="payform" name="payform" action="http://ceshi.allinpay.com/gateway/index.do" method="post">--%>
    <form id="payform" name="payform" action="http://ceshi.allinbuy.com/gateway/index.do" method="post">
    <input type="text" id="inputCharset" name="inputCharset" value="1">
    <input type="text"  name="pickupUrl" id="serverUrl" value="http://localhost:2955/pay/PaymentReturn_url_hishop.plugins.payment.allinpay.allinpayrequest.aspx">
    <input type="text" id="receiveUrl" name="receiveUrl" value="http://localhost:2955/pay/PaymentReturn_url_hishop.plugins.payment.allinpay.allinpayrequest.aspx">
    <input type="text" id="version" name="version" value="v1.0">
    <input type="text" id="signType" name="signType" value="1">
    <input type="text" id="merchantId" name="merchantId" value="100020091218001">
    <input type="text" id="orderNo" name="orderNo" value="201501297618775">
    <input type="text" id="orderAmount" name="orderAmount" value="8700">
    <input type="text" id="orderDatetime" name="orderDatetime" value="20150129232655">
    <input type="text" id="payType" name="payType" value="0">
    <input type="text" id="signMsg" name="signMsg" value="101CC02FFCBEEC0B0735CDB9CD6EC298">
    <input type="submit" value="在线支付" >
</form>

换成第一个就能提交成功,可是第二个,死活不争取,吐血,实在是看不出来什么地方不一样,求教





展开
收起
爱吃鱼的程序员 2020-06-14 18:05:27 437 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    吐血看出来了 <spanstyle="color:#0000FF;font-family:Consolas,'BitstreamVeraSansMono','CourierNew',Courier,monospace;font-size:14px;line-height:15.390625px;background-color:#FFFFFF;">allinpay!= <spanstyle="color:#0000FF;font-family:Consolas,'BitstreamVeraSansMono','CourierNew',Courier,monospace;font-size:14px;line-height:15.390625px;background-color:#FFFFFF;">allinbuy晕明显actionURL不一样啊一个是pay一个是buy回复<aclass='referer'target='_blank'>@Jeky:嗯,平时都是用Beyond,晕,不知道刚刚咋搞的,真的是,看了好几遍都没看出来不一样,吐血--,中邪了,还是咋了,唉回复<aclass='referer'target='_blank'>@Enterprise:http://text-compare.com/直接输入进去看区别--,说实话,我刚刚真是比对了,半天没看出来,晕,2眼昏花了看出来了,字体大小不一样...合理使用工具啊

    哥们 ,一个页面能有两个ID一样的元素?


    <%----%>已注释

    2020-06-14 18:05:45
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
《0代码搭应用》 立即下载
不止代码 立即下载
移动与复制 立即下载