diff --git a/Host/Controllers/UserController.cs b/Host/Controllers/UserController.cs index 5df4821..ea56536 100644 --- a/Host/Controllers/UserController.cs +++ b/Host/Controllers/UserController.cs @@ -330,14 +330,27 @@ namespace Home.Controllers /// /// /// - [HttpGet, AllowAnonymous] - public async Task SendPhoneCode(string phone,string key) + // [HttpGet, AllowAnonymous] + // public async Task SendPhoneCode(string phone,string key) + // { + // return new ApiResult(ResultCode.C_SUCCESS, "验证码已发送到您的手机"); + // } + + + + /// + /// 发送手机验证码 + /// + /// + /// + [HttpPost, AllowAnonymous] + public async Task SendPhoneCodevefy(string phone,string key) { key = $"{key}:{phone}"; if (key.StartsWith("User_Code:") &&m_UserService.Exist(m => m.LoginCode == phone || m.Phone == phone)) { - return new ApiResult(ResultCode.C_ALREADY_EXISTS_ERROR, "该手机号已经注册了"); + return new ApiResult(ResultCode.C_ALREADY_EXISTS_ERROR, "该手机号已经被注册了"); } diff --git a/Host/Views.Mobile/Home/Index.cshtml b/Host/Views.Mobile/Home/Index.cshtml index 88d550e..c06564e 100644 --- a/Host/Views.Mobile/Home/Index.cshtml +++ b/Host/Views.Mobile/Home/Index.cshtml @@ -310,8 +310,8 @@

大客户/商务合作

-

电话/微信:177 9666 8888

-

QQ:70177252

+

电话/微信:177 1909 2232

+

QQ:937888580

diff --git a/Host/Views.Mobile/Product/Index.cshtml b/Host/Views.Mobile/Product/Index.cshtml index 7f405c7..5d5c3e1 100644 --- a/Host/Views.Mobile/Product/Index.cshtml +++ b/Host/Views.Mobile/Product/Index.cshtml @@ -355,6 +355,7 @@

需求5个以上,可以联系客服设置优惠价; 开通后有任何问题可无理由退款,并支持自助提现 + 退款规则:购买价格-使用天数*天卡价格

@foreach (var package in item.Packages.Where(m => m.Status == 1&&(m.TenantId==1157||m.TenantId==9999||m.TenantId==10000)).OrderBy(m => m.TenantId)) diff --git a/Host/Views.Mobile/User/FindPwd.cshtml b/Host/Views.Mobile/User/FindPwd.cshtml index dd8025a..ea84dd7 100644 --- a/Host/Views.Mobile/User/FindPwd.cshtml +++ b/Host/Views.Mobile/User/FindPwd.cshtml @@ -27,10 +27,11 @@ var name = $("#username").val() if(name == '') { alert('手机号不能为空'); return; } if (!timing(_self)) return; - var url = '/User/SendPhoneCode?key=FindUser_Code&phone=' + name; + var url = '/User/SendPhoneCodevefy?key=FindUser_Code&phone=' + name; $.ajax({ - type: 'GET', + type: 'POST', url: url, + contentType: "application/json", success: function (res) { alert(res.Message) //if (res.Code == 10000) { diff --git a/Host/Views.Mobile/User/Regist.cshtml b/Host/Views.Mobile/User/Regist.cshtml index 4cf8131..013085b 100644 --- a/Host/Views.Mobile/User/Regist.cshtml +++ b/Host/Views.Mobile/User/Regist.cshtml @@ -37,10 +37,11 @@ var name = $("#username").val() if(name == '') { alert('手机号不能为空'); return; } if (!timing(_self)) return; - var url = '/user/SendPhoneCode?key=User_Code&phone=' + name; + var url = '/user/SendPhoneCodevefy?key=User_Code&phone=' + name; $.ajax({ - type: 'GET', + type: 'POST', url: url, + contentType: "application/json", success: function (res) { alert(res.Message) } diff --git a/Host/Views/Home/Index.cshtml b/Host/Views/Home/Index.cshtml index a78bb2f..0d60729 100644 --- a/Host/Views/Home/Index.cshtml +++ b/Host/Views/Home/Index.cshtml @@ -672,8 +672,8 @@

大客户/商务合作

    -
  • 电话/微信:177 9666 8888
  • -
  • QQ:70177252
  • +
  • 电话/微信:177 1909 2232
  • +
  • QQ:937888580
@@ -777,11 +777,12 @@ function getCode(_self) { if (!timing(_self)) return; var name = $("#username").val() - var url = '/user/SendPhoneCode?key=User_Code&phone=' + name; + var url = '/user/SendPhoneCodevefy?key=User_Code&phone=' + name; var timerHandler; $.ajax({ - type: 'GET', + type: 'POST', url: url, + contentType: "application/json", success: function (res) { alert(res.Message) } @@ -790,10 +791,11 @@ function getFindCode(_self) { if (!timing(_self)) return; var name = $("#fusername").val() - var url = '/user/SendPhoneCode?key=FindUser_Code&phone=' + name; + var url = '/user/SendPhoneCodevefy?key=FindUser_Code&phone=' + name; $.ajax({ - type: 'GET', + type: 'POST', url: url, + contentType: "application/json", success: function (res) { alert(res.Message) } diff --git a/Host/Views/LineList/Index.cshtml b/Host/Views/LineList/Index.cshtml index 93832fe..2a0d658 100644 --- a/Host/Views/LineList/Index.cshtml +++ b/Host/Views/LineList/Index.cshtml @@ -63,7 +63,7 @@
-

{{search_field}} ------线路表API接口(每5分钟更新一次):http://php-api.juip.com/script/linedata/display.php?product={{product_id}}

+

{{search_field}} ------线路表API接口(每5分钟更新一次,禁止频繁访问!):http://php-api.juip.com/script/linedata/display.php?product={{product_id}}

{{search_field}} 用服务器地址直连用户请注意: @@ -362,6 +362,9 @@ case 22: self.location.href='http://php-api.juip.com/script/linedata/data/download/huohu.csv'; break; + case 23: + self.location.href='http://php-api.juip.com/script/linedata/data/download/yunniu.csv'; + break; } } } diff --git a/Host/Views/Product/Index.cshtml b/Host/Views/Product/Index.cshtml index 8361b4e..ed23ee0 100644 --- a/Host/Views/Product/Index.cshtml +++ b/Host/Views/Product/Index.cshtml @@ -544,6 +544,9 @@ " style="color: #000000;">查看详细地区

*@ } + @if(item.Product.Id == 22 ||item.Product.Id == 23 ){ +

购买须知:本产品目前所有地区QQ微信仅限于登录游戏账号

+ } @if(item.Product.Id == 5){

购买须知:本产品目前所有地区都屏蔽QQ微信

} @@ -673,7 +676,7 @@

@restTimes

测试卡

-

使用期限:2小时

+

使用期限:1小时

@@ -840,6 +843,7 @@

温馨提示:需求5个以上,可以联系客服设置优惠价

开通后有任何问题可无理由退款,并支持自助提现

+

退款规则:购买价格-使用天数*天卡价格

@if(item.Product.Id == 21 ||item.Product.Id == 20){

无极所有产品均不支持退款,请先开天卡测试

} diff --git a/Host/Views/Product/ReBuyIndex.cshtml b/Host/Views/Product/ReBuyIndex.cshtml index 94346e0..8e8500b 100644 --- a/Host/Views/Product/ReBuyIndex.cshtml +++ b/Host/Views/Product/ReBuyIndex.cshtml @@ -574,6 +574,7 @@

温馨提示:需求5个以上,可以联系客服设置优惠价

开通后有任何问题可无理由退款,并支持自助提现

+

退款规则:购买价格-使用天数*天卡价格

diff --git a/Host/Views/Shared/_Layout.cshtml b/Host/Views/Shared/_Layout.cshtml index 39c6014..8b76833 100644 --- a/Host/Views/Shared/_Layout.cshtml +++ b/Host/Views/Shared/_Layout.cshtml @@ -264,8 +264,8 @@

大客户/商务合作

    -
  • 电话/微信:177 9666 8888
  • -
  • QQ:70177252
  • +
  • 电话/微信:177 1909 2232
  • +
  • QQ:937888580
@@ -406,10 +406,11 @@ function getCode(_self) { if (!timing(_self)) return; var name = $("#username").val() - var url = '/user/SendPhoneCode?key=User_Code&phone=' + name; + var url = '/user/SendPhoneCodevefy?key=User_Code&phone=' + name; $.ajax({ - type: 'GET', + type: 'POST', url: url, + contentType: "application/json", success: function (res) { alert(res.Message) } @@ -418,10 +419,11 @@ function getFindCode(_self) { if (!timing(_self)) return; var name = $("#fusername").val() - var url = '/user/SendPhoneCode?key=FindUser_Code&phone=' + name; + var url = '/user/SendPhoneCodevefy?key=FindUser_Code&phone=' + name; $.ajax({ - type: 'GET', + type: 'POST', url: url, + contentType: "application/json", success: function (res) { alert(res.Message) }