SourceCode/jiouosdp/Views/Shared/weixin.cshtml
(开头部分) 13KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@using RFrameGenerate.BLL
@{
Layout = null;
RFrameGenerate.Model.T_WX_WeChat wechat = WeChatManage.GetWeChat(RFrameGenerate.Common.CurrentManage.AppId);
//RFrameGenerate.Model.T_WX_WeChat wechat = new RFrameGenerate.Model.T_WX_WeChat();
//if (RFrameGenerate.Common.CurrentUser.GetIsSubscribe() != true)
//{
// var merchants = RFrameGenerate.BLL.MerchantManage.GetMerchant(RFrameGenerate.Common.CurrentManage.MerchantGuid);
// if (merchants != null && merchants.WeChatGuid != null)
// {
// wechat = WeChatManage.GetWeChat(RFrameGenerate.Common.CurrentManage.AppId);
// }
// else
// {
// wechat = new RFrameGenerate.Model.T_WX_WeChat();
// }
//}
//签名
string url = "";
string timestamp = "";
string noncestr = "";
string signature = "";
int isenable = 0;
if (ViewBag.IsNotHideButton == null && RFrameGenerate.Common.CurrentManage.IsDebug != true)
{//ViewBag.IsNotHideButton 子页面赋值,就会禁用分享功能
isenable = 1;
}
url = Request.Url.ToString().Split('#')[0];
timestamp = DateTimeEx.GetTimeStamp(true);
noncestr = RFrameGenerate.Common.ExtensionMethods.RandomEx.GenerateRandom(16);
signature = weixinopen.WeiXinOpenRequest.Signature(url, noncestr, timestamp, RFrameGenerate.Common.CurrentManage.AppId);
var name = ParameterManage.GetParamValue(ParameterName.DiyDistributionName.BottomNav, "成为分销商");
var link = ParameterManage.GetParamValue(ParameterName.DiyDistributionName.BottomNavLink, "/WxShop/BecomeReseller");
}
<!DOCTYPE html>
<head>
<title>@ViewBag.Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<link href="../../Content/WX/css/iconfont.css" rel="stylesheet" />
<script src="../../../../Scripts/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="../../Scripts/json2.min.js"></script>
<script src="../../Scripts/expend/jqueryOverride.min.js"></script>
<script src="../../Scripts/expend/control.js"></script>
<script src="../../Scripts/jquery.form.js"></script>
<link href="../../Scripts/layer/layer.m-v1.5/need/layer.css" rel="stylesheet" />
<script src="../../Scripts/layer/layer.m-v1.5/layer.m.js"></script>
<script src="../../../../Scripts/WeiXin/weixin.js?v=2.1"></script>
<script src="../../../../Scripts/WeiXin/weixinconfig.js?v=2.1"></script>
后面还有 324 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。