联系官方销售客服
1835022288
028-61286886
之前没有添加验证码功能,提交表单的速度非常快,基本都是2秒内完成,添加在验证码后,要等待20~30秒才提示提交成功
服务器配置是2核4G内存,PHP8.0、MySQL5.7
怎么排查是什么原因导致的,提交速度那么慢
复制引用官方的头部文件的代码 <script type="text/javascript">var is_mobile_cms = '{IS_MOBILE}';var web_dir = '{WEB_DIR}';</script> <script src="{THEME_PATH}assets/global/plugins/jquery.min.js" type="text/javascript"></script> <script src="{THEME_PATH}assets/js/cms.js" type="text/javascript"></script> <script src="{HOME_THEME_PATH}web/scripts/app.min.js" type="text/javascript"></script>
{php extract(dr_get_form_post_value('xunpan'))} <form action="{$post_url}&is_show_msg=1" class="form-horizontal" method="post" name="feedback" id="myform"> <ul> <li><p>Name<span>*</span></p><input name="data[title]" type="text" placeholder="Name" required="required"></li> <li><p>Country</p><input name="data[guojia]" type="text" placeholder="Country"></li> <li><p>E-mail<span>*</span></p><input name="data[email]" type="text" placeholder="E-mail" required="required"></li> <li><p>Tel</p><input name="data[dianhua]" type="text" placeholder="Tel"></li> <li><p>Company</p><input name="data[gongsi]" type="text" placeholder="Company"></li> <li><p>Message<span>*</span></p><textarea name="data[neirong]" placeholder="Message" required="required"></textarea></li> {if $is_post_code} {dr_lang('Type the code')} <input type="text" name="code"> {dr_code(120, 66)} {/if} <li> <button type="button" onclick="dr_ajax_submit('{$post_url}', 'myform', '2000', '{$rt_url}')" >Submit</button></li> </ul> </form>