Browse Source

修复发送邮箱验证码时URL错误

Karson 6 years ago
parent
commit
4bb4425d45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/index/view/common/captcha.html

+ 1 - 1
application/index/view/common/captcha.html

@@ -2,7 +2,7 @@
 {if "[type]" == 'email'}
     <input type="text" name="captcha" class="form-control input-lg" data-rule="required;length(4);integer[+];remote({:url('api/validate/check_ems_correct')}, event=[event], email:#email)" />
     <span class="input-group-btn" style="padding:0;border:none;">
-        <a href="javascript:;" class="btn btn-info btn-captcha btn-lg" data-url="{:url('api/email/send')}" data-type="email" data-event="[event]">发送验证码</a>
+        <a href="javascript:;" class="btn btn-info btn-captcha btn-lg" data-url="{:url('api/ems/send')}" data-type="email" data-event="[event]">发送验证码</a>
     </span>
 {elseif "[type]" == 'mobile'/}
     <input type="text" name="captcha" class="form-control input-lg" data-rule="required;length(4);integer[+];remote({:url('api/validate/check_sms_correct')}, event=[event], mobile:#mobile)" />