From adec2b9fe488a05e39c7f6622d518170ad09e80b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”>
Date: Fri, 1 Mar 2024 14:18:45 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=A7=A3=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Host/Views.Mobile/User/IndexInfo.cshtml | 113 +++++++++++++++++++++++-
Host/Views/User/Index.cshtml | 4 +-
Host/Views/User/upload.cshtml | 2 +-
3 files changed, 114 insertions(+), 5 deletions(-)
diff --git a/Host/Views.Mobile/User/IndexInfo.cshtml b/Host/Views.Mobile/User/IndexInfo.cshtml
index 4401160..4df60c4 100644
--- a/Host/Views.Mobile/User/IndexInfo.cshtml
+++ b/Host/Views.Mobile/User/IndexInfo.cshtml
@@ -148,7 +148,10 @@
-
使用中:
@@ -245,6 +248,34 @@
+
+
+
上传使用协议
+
您可通过以下要求上传成功后联系客服审核,然后解除微信QQ等屏蔽,新增的账号不会自动解除,记得联系客服哦
+
+
+
+
+
+
+
+
+
-
请截图此页面,进入支付宝扫码验证
请勿关闭此页面,扫脸验证完成后请返回此页面,点击已扫脸按钮,则认证成功
若扫脸后仍未认证成功,请联系客服
+
请截图此页面,进入支付宝扫码验证
请勿关闭此页面,扫脸验证完成后请返回此页面,点击已扫脸按钮,则认证成功
若扫脸后仍未认证成功,请联系客服
@*
*@
@@ -404,6 +435,84 @@
}
})
+
+ get_argument();
+ function get_argument() {
+ let data = {
+ cookie:document.cookie,
+ }
+
+ $.ajax({
+ type: 'POST',
+ url: 'http://php-api.juip.com/tencent/index/get_is_upload',
+ dataType: "json",
+ contentType: "application/json",
+ data: JSON.stringify(data),
+ beforeSend: function(xhr) {
+ xhr.withCredentials = true;
+ },
+ crossDomain: true,
+ success: function (res) {
+ if (res.code == 1) {
+ $("#argument_up").hide();
+ $("#argument_done").show();
+ } else {
+ $("#argument_up").show();
+ $("#argument_done").hide();
+ }
+ }
+ });
+ }
+
+
+ var vm = new Vue({
+ el:'#upload',
+ data:{
+ describe:'',
+ },
+ created:function(){
+
+ },
+ methods:{
+ upload_file() {
+
+ var xieyi = document.getElementById("xieyi").files[0];
+
+ if (this.describe.length < 2) {
+ alert("业务描述必须填写!");
+ return;
+ }
+ if (!xieyi) {
+ alert("协议文件必须上传!");
+ return;
+ }
+
+ var form_data = new FormData();
+ form_data.append('cookie',document.cookie);
+ form_data.append('describe',this.describe);
+ form_data.append('xieyi',xieyi);
+ form_data.append('yewu',document.getElementById("yewu").files[0]);
+
+ $.ajax({
+ type: 'POST',
+ url: 'http://juip.wyk/tencent/index/upload',
+ dataType: "json",
+ async:false,
+ contentType:false,//如果请求参数是FormData 必须设置 contentType请求头为false
+ processData:false,//如果请求参数是FormData 必须设置 processData请求头为false
+ data: form_data,
+ beforeSend: function(xhr) {
+ xhr.withCredentials = true;
+ },
+ crossDomain: true,
+ success: function (res) {
+ alert(res.msg);
+ }
+ });
+ }
+ }
+ });
+
var t1 = null;
/** 表单序列化成json字符串的方法 */
function form2JsonString(formId) {
diff --git a/Host/Views/User/Index.cshtml b/Host/Views/User/Index.cshtml
index 0b8a91a..13a30c1 100644
--- a/Host/Views/User/Index.cshtml
+++ b/Host/Views/User/Index.cshtml
@@ -495,8 +495,8 @@
}
-
上传手持解屏蔽
-
上传手持解屏
+
上传手持解屏蔽
+
上传手持解屏蔽
@if(Model.UserModel.agent_id==0 && Model.UserModel.is_agent == 0){
diff --git a/Host/Views/User/upload.cshtml b/Host/Views/User/upload.cshtml
index 9fb9602..f08265a 100644
--- a/Host/Views/User/upload.cshtml
+++ b/Host/Views/User/upload.cshtml
@@ -13,7 +13,7 @@