huangxiaojing 3 年之前
父节点
当前提交
b508b9bb8d
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      microserviceUserH5/vcloud/register.html

+ 5 - 0
microserviceUserH5/vcloud/register.html

@@ -160,6 +160,11 @@
 						if (res.status === 0) {
 							toastr.error('领取成功')
 							$(window).attr('location', res.data);
+						} else if (res.status === 1) {
+							toastr.error(res.msg)
+							setTimeout(function() {
+								$(window).attr('location', 'http://www.androidscloud.com/');
+							}, 1000)
 						} else {
 							toastr.error(res.msg)
 						}