ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯(lián)系官方銷售客服

1835022288

028-61286886

投訴 解決中 / 官方已回 在后臺新建了個網(wǎng)站表單然后電腦版可以正常留言但是手機(jī)版用電腦 10 0
迅睿CMS版本:4.3.8

在后臺新建了個網(wǎng)站表單,然后電腦版可以正常留言,但是手機(jī)版用電腦版的代碼提交留言時提示“系統(tǒng)錯誤”,

把表單提交地址改成手機(jī)版綁定的域名提示“跨站驗證禁止此操作”,

請問是什么原因,怎么解決?

解決方案
  • 有沒有在不修改表單提交地址和關(guān)閉后臺跨站驗證的情況下解決第一個那種問題呢?

    • 2020-06-09 10:39:04
      Chrome 0

      回復(fù)迅睿框架創(chuàng)始人

      是本地環(huán)境,

      電腦端代碼:<div id="submit" class="btn" onclick="dr_ajax_submit('http://localhost:88/index.php?s=form&c=zaixianyuyue&m=post', 'myform', '2000', 'index.php#yuyue')">立即預(yù)約</div>

      移動端代碼:<div id="submit" class="btn" onclick="dr_ajax_submit('http://localhost:89/index.php?s=form&c=zaixianyuyue&m=post', 'myform', '2000', 'index.php#yuyue')">立即預(yù)約</div>

    • 2020-06-09 10:41:01
      Chrome 0

      回復(fù)迅睿框架創(chuàng)始人

      再咨詢個小白問題,如果源碼上傳到服務(wù)器上,電腦端域名是www.yuming.com,移動端域名是wap.yuming.com,到時候移動端再向電腦端提交信息算是跨站嗎?

  • 域名不同就算跨域了,你這個域名是不同的。

    你把整個form標(biāo)簽體的代碼發(fā)了看看

    • 2020-06-09 11:08:34
      Chrome 0

      回復(fù)迅睿框架創(chuàng)始人

      <form action="" class="form-horizontal" method="post" name="myform" id="myform">

      <input name="is_form" type="hidden" value="1">

      <input name="is_admin" type="hidden" value="0">

      <input name="is_tips" type="hidden" value="">

      <input name="csrf_test_name" type="hidden" value="de343a2dc4e7b899cb347f9b132e21d2">

      <div class="inputColumns clearfix">

      <div class="column2" style="width:100%">

      <div class="columnInner">

      <input type="text" name="data[xingming]" id="dr_xingming" value="" placeholder="您的姓名 *">

      </div>

      </div>

      <div class="column2" style="width:100%">

      <div class="columnInner">

      <input type="text" name="data[dianhua]" id="dr_dianhua" value="" placeholder="您的電話 *">

      </div>

      </div>

      <div class="column2" style="width:100%">

      <div class="columnInner">

      <input type="text" name="data[weixin]" id="dr_weixin" value="" placeholder="您的微信 *">

      </div>

      </div>

      <div class="column2" style="width:100%">

      <div class="columnInner">

      <input type="text" class="form-control" name="code" style="width:57%" placeholder="請輸入驗證碼 *"><img align="absmiddle" style="cursor:pointer; height:37px; float:right;" onclick="this.src='/index.php?s=api&c=api&m=captcha&width=120&height=37&'+Math.random();" src="/index.php?s=api&c=api&m=captcha&width=120&height=37" />

      </div>

      </div>

      </div>

      <div id="submit" class="btn" onclick="dr_ajax_submit('http://localhost:89/index.php?s=form&c=zaixianyuyue&m=post', 'myform', '2000', 'index.php#yuyue')">立即預(yù)約</div>

      </form>

    • 2020-06-09 11:09:43
      Chrome 0

      回復(fù)迅睿框架創(chuàng)始人

      看這個精簡的吧,上面那個太多了

      <form action="" class="form-horizontal" method="post" name="myform" id="myform">

      <input name="is_form" type="hidden" value="1">

      <input name="is_admin" type="hidden" value="0">

      <input name="is_tips" type="hidden" value="">

      <input name="csrf_test_name" type="hidden" value="de343a2dc4e7b899cb347f9b132e21d2">

      <input type="text" name="data[xingming]" id="dr_xingming" value="" placeholder="您的姓名 *">

      <input type="text" name="data[dianhua]" id="dr_dianhua" value="" placeholder="您的電話 *">

      <input type="text" name="data[weixin]" id="dr_weixin" value="" placeholder="您的微信 *">

      <input type="text" class="form-control" name="code" style="width:57%" placeholder="請輸入驗證碼 *"><img align="absmiddle" style="cursor:pointer; height:37px; float:right;" onclick="this.src='/index.php?s=api&c=api&m=captcha&width=120&height=37&'+Math.random();" src="/index.php?s=api&c=api&m=captcha&width=120&height=37" />

      <div id="submit" class="btn" onclick="dr_ajax_submit('http://localhost:89/index.php?s=form&c=zaixianyuyue&m=post', 'myform', '2000', 'index.php#yuyue')">立即預(yù)約</div>

      </form>

  • 沒有發(fā)現(xiàn)問題,整個頁面就一個form嗎

    • 2020-06-09 11:24:05
      Chrome 0

      回復(fù)迅睿框架創(chuàng)始人

      恩,就這一個form,現(xiàn)在的問題就是如果手機(jī)版調(diào)用電腦版的表單代碼點擊提交就顯示“系統(tǒng)錯誤”,如果把表單提交地址改成手機(jī)版綁定的域名然后把后臺的“跨站驗證”關(guān)了就可以正常留言。

  • 那不應(yīng)該會報錯,還是要把地址給我試一試