为添加微信小程序支付做准备

This commit is contained in:
lym
2026-03-16 02:47:48 +08:00
parent be6ee77e38
commit bc9073f7f3
24 changed files with 3269 additions and 83 deletions

View File

@@ -113,6 +113,10 @@ namespace Mtxfw.VipSite
{
strTitle = "补贴值";
}
if (t == 34)
{
strTitle = "奖金结算";
}
if (!IsPostBack)
{
if (Session["IFPassword"] == null)

View File

@@ -80,7 +80,7 @@ namespace Mtxfw.VipSite
}
Data_Bind();
Page.Title = "VIP会员列表 - " + GetWebName;
Page.Title = "会员列表 - " + GetWebName;
}
MyPager.PageChanged += delegate(object s, EventArgs ex)

View File

@@ -405,7 +405,7 @@ namespace Mtxfw.VipSite
Double G_JG = Double.Parse(Dr["G_JG"].ToString());
Double G_JF = Double.Parse(Dr["G_JF"].ToString());
int G_KC = int.Parse(Dr["G_KC"].ToString());
strje += G_Name + "&nbsp;" + G_JG + "兑换券/" + G_KC + "<br>";
strje += G_Name + "&nbsp;" + "价格"+G_JG + "+兑换券" + G_JF + "/库存" + G_KC + "<br>";
}
strje += "</td>";
}

View File

@@ -1,4 +1,4 @@
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="Admin_Member_Products_add.aspx.cs" Inherits="Mtxfw.VipSite.Admin_Member_Products_add" %>
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="Admin_Member_Products_add.aspx.cs" Inherits="Mtxfw.VipSite.Admin_Member_Products_add" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>
<html>

View File

@@ -460,8 +460,8 @@
};
var len = 1;
function onaddgg() {
var html = '<ul class="addggbox_box" id="addggbox_box' + len + '"><li class="textgg"><input id="textgg" type="text" /></li><li class="textjg"><input id="textjg" type="text" /></li><li class="textjg"><input id="textjg2" type="text" /></li><li class="textjg"><input id="textjg0" type="text" /></li><li class="textjg"><input id="textjg1" type="text" /></li>';
//var html = '<ul class="addggbox_box" id="addggbox_box' + len + '"><li class="textgg"><input id="textgg" type="text" /></li><li class="textjg"><input id="textjg" type="text" /></li><li class="textjg"><input id="textjg2" type="text" /></li><li class="textjg"><input id="textjg0" type="text" /></li><li class="textjg"><input id="textjg1" type="text" /></li>';
var html = '<ul class="addggbox_box" id="addggbox_box' + len + '"><li class="textgg"><input id="textgg" type="text" /></li><li class="textjg"><input id="textjg" type="text" /></li><li class="textjg"><input id="textjg2" type="text" /></li>';
html += '<li class="textzl"><input id="textzl" type="text" /></li><li class="textkc"><input id="textkc" type="text" /></li><li class="textcolor" colors="" onclick="showcolor(' + len + ')">#颜色#</li><li class="texttp" tps="" onclick="showtp(' + len + ')">#图片#</li><li class="textcz"><input id="editbtn" class="abtn" type="button" value="保存" onclick="showedit(' + len + ')" /><input id="delbtn" class="abtn" type="button" value="删除" onclick="ondelgg(' + len + ')" /></div></li></ul>';
@@ -498,13 +498,13 @@
var jg = fTrim($("#addggbox_box" + id + " #textjg").val());
var jg2 = fTrim($("#addggbox_box" + id + " #textjg2").val());
var jg0 = "";
var jg1 = fTrim($("#addggbox_box" + id + " #textjg1").val());
var jg1 = "";//fTrim($("#addggbox_box" + id + " #textjg1").val());
var jg3 = "";
var jg4 = "";
var jg5 = "";
var jg6 = "";
jg0 = fTrim($("#addggbox_box" + id + " #textjg0").val());
/* jg0 = fTrim($("#addggbox_box" + id + " #textjg0").val());*/
//jg4 = fTrim($("#addggbox_box" + id + " #textjg4").val());
//jg5 = fTrim($("#addggbox_box" + id + " #textjg5").val());
//jg6 = fTrim($("#addggbox_box" + id + " #textjg6").val());
@@ -520,13 +520,13 @@
if (b) {
if (jg == "") {
b = false;
alert("首购价不能为空")
alert("价不能为空")
}
}
if (b) {
if (jg2 == "") {
b = false;
alert("复购价不能为空")
alert("零售价不能为空")
}
}
/*if (b) {
@@ -535,18 +535,18 @@
alert("使用现金不能为空")
}
}*/
if (b) {
if (jg0 == "") {
b = false;
alert("直推奖励不能为空")
}
}
if (b) {
if (jg1== "") {
b = false;
alert("复购直推奖励不能为空")
}
}
//if (b) {
// if (jg0 == "") {
// b = false;
// alert("直推奖励不能为空")
// }
// }
//if (b) {
// if (jg1== "") {
// b = false;
// alert("复购直推奖励不能为空")
// }
//}
if (b) {
@@ -912,7 +912,7 @@
function getjg0(t) {
}
</script>
</script>
</head>
<body>
<form runat="server">
@@ -1005,13 +1005,13 @@
<td>
<div class="addggbox">
<ul class="addggbox_title"><li class="textgg">规格</li><li>会员价</li><li>零售价</li><li>直推奖励</li><li>复购直推奖励</li>
<ul class="addggbox_title"><li class="textgg">规格</li><li>会员价</li><li>零售价</li>
<li>重量</li><li>库存</li><li>颜色</li><li>图片</li><li class="textcz"><input id="addbtn" class="abtn" type="button" value="添加" onclick="onaddgg()" /></li></ul>
<%=guige%>
<%if (guige == "")
{%>
<ul class="addggbox_box" id="addggbox_box0"><li class="textgg"><input id="textgg" type="text" /></li><li class="textjg2"><input id="textjg" type="text" /></li><li class="textjg"><input id="textjg2" type="text" /></li><li class="textjg"><input id="textjg0" type="text" /></li><li class="textjg"><input id="textjg1" type="text" /></li>
<ul class="addggbox_box" id="addggbox_box0"><li class="textgg"><input id="textgg" type="text" /></li><li class="textjg2"><input id="textjg" type="text" /></li><li class="textjg"><input id="textjg2" type="text" /></li>
<li class="textzl"><input id="textzl" type="text" /></li><li class="textkc"><input id="textkc" type="text" /></li><li class="textcolor" colors="" onclick="showcolor(0)">#颜色#</li><li class="texttp" tps="" onclick="showtp(0)">#图片#</li><li class="textcz"><input id="editbtn" class="abtn" type="button" value="保存" onclick="showedit(0)" /><input id="delbtn" class="abtn" type="button" value="删除" onclick="ondelgg(0)" /><input id="ggids" type="hidden" value="" runat="server" /></li></ul>
<%} %>

View File

@@ -106,7 +106,7 @@ namespace Mtxfw.VipSite
int G_KC = int.Parse(Dr["G_KC"].ToString());
string colors = Dr["G_Color"].ToString();
string tps = Dr["G_Images"].ToString();
guige += "<ul class=\"addggbox_box addggbox_boxed\" id=\"addggbox_box" + G_ID + "\"><li class=\"textgg\"><input id=\"textgg\" type=\"text\" value=\"" + G_Name + "\" /></li><li class=\"textjg2\"><input id=\"textjg\" type=\"text\"value=\"" + G_JG + "\" /></li><li class=\"textjg\"><input id=\"textjg2\" type=\"text\" value=\"" + G_JG2 + "\" /></li><li class=\"textjg\"><input id=\"textjg0\" type=\"text\" value=\"" + G_JG0 + "\" /></li><li class=\"textjg\"><input id=\"textjg1\" type=\"text\" value=\"" + G_JG1 + "\" /></li>";
guige += "<ul class=\"addggbox_box addggbox_boxed\" id=\"addggbox_box" + G_ID + "\"><li class=\"textgg\"><input id=\"textgg\" type=\"text\" value=\"" + G_Name + "\" /></li><li class=\"textjg2\"><input id=\"textjg\" type=\"text\"value=\"" + G_JG + "\" /></li><li class=\"textjg\"><input id=\"textjg2\" type=\"text\" value=\"" + G_JG2 + "\" /></li>";
@@ -212,11 +212,12 @@ namespace Mtxfw.VipSite
int G_KC = int.Parse(Dr["G_KC"].ToString());
string colors = Dr["G_Color"].ToString();
string tps = Dr["G_Images"].ToString();
guige += "<ul class=\"addggbox_box addggbox_boxed\" id=\"addggbox_box" + G_ID + "\"><li class=\"textgg\"><input id=\"textgg\" type=\"text\" value=\"" + G_Name + "\" /></li><li class=\"textjg2\"><input id=\"textjg\" type=\"text\"value=\"" + G_JG + "\" /></li><li class=\"textjg\"><input id=\"textjg2\" type=\"text\" value=\"" + G_JG2 + "\" /></li><li class=\"textjg\"><input id=\"textjg0\" type=\"text\" value=\"" + G_JG0 + "\" /></li><li class=\"textjg\"><input id=\"textjg1\" type=\"text\" value=\"" + G_JG1 + "\" /></li>";
guige += "<li class=\"textzl\"><input id=\"textzl\" type=\"text\" value=\"" + G_ZL + "\" /></li><li class=\"textkc\"><input id=\"textkc\" type=\"text\" value=\"" + G_KC + "\" /></li><li class=\"textcolor\" colors=\"" + colors + "\" onclick=\"showcolor(" + G_ID + ")\">#颜色#</li><li class=\"texttp\" tps=\"" + tps + "\" onclick=\"showtp(" + G_ID + ")\">#图片#</li><li class=\"textcz\"><input id=\"editbtn\" class=\"abtn\" onclick=\"showedit(" + G_ID + ")\" type=\"button\" value=\"编辑\" /><input id=\"delbtn\" onclick=\"ondelgg(" + G_ID + ")\" class=\"abtn\" type=\"button\" value=\"删除\" /></li></ul>";
//guige += "<ul class=\"addggbox_box addggbox_boxed\" id=\"addggbox_box" + G_ID + "\"><li class=\"textgg\"><input id=\"textgg\" type=\"text\" value=\"" + G_Name + "\" /></li><li class=\"textjg2\"><input id=\"textjg\" type=\"text\"value=\"" + G_JG + "\" /></li><li class=\"textjg\"><input id=\"textjg2\" type=\"text\" value=\"" + G_JG2 + "\" /></li><li class=\"textjg\"><input id=\"textjg0\" type=\"text\" value=\"" + G_JG0 + "\" /></li><li class=\"textjg\"><input id=\"textjg1\" type=\"text\" value=\"" + G_JG1 + "\" /></li>";
guige += "<ul class=\"addggbox_box addggbox_boxed\" id=\"addggbox_box" + G_ID + "\"><li class=\"textgg\"><input id=\"textgg\" type=\"text\" value=\"" + G_Name + "\" /></li><li class=\"textjg2\"><input id=\"textjg\" type=\"text\"value=\"" + G_JG + "\" /></li><li class=\"textjg\"><input id=\"textjg2\" type=\"text\" value=\"" + G_JG2 + "\" /></li>";
guige += "<li class=\"textzl\"><input id=\"textzl\" type=\"text\" value=\"" + G_ZL + "\" /></li><li class=\"textkc\"><input id=\"textkc\" type=\"text\" value=\"" + G_KC + "\" /></li><li class=\"textcolor\" colors=\"" + colors + "\" onclick=\"showcolor(" + G_ID + ")\">#颜色#</li><li class=\"texttp\" tps=\"" + tps + "\" onclick=\"showtp(" + G_ID + ")\">#图片#</li><li class=\"textcz\"><input id=\"editbtn\" class=\"abtn\" onclick=\"showedit(" + G_ID + ")\" type=\"button\" value=\"编辑\" /><input id=\"delbtn\" onclick=\"ondelgg(" + G_ID + ")\" class=\"abtn\" type=\"button\" value=\"删除\" /></li></ul>";
}
}

View File

@@ -154,7 +154,7 @@
<webMoney152 value="3" des="" />
<webMoney153 value="50,1|100,1|200,1|300,1|500,1" des="" />
<webMoney154 value="1" des="" />
<webMoney155 value="添加素材微信号,素材号,KSD134199,20231013222231766.png|加入QQ群1,QQ号,3660026742,20231013223228432.png|企业微信群,E森命业务交流,,https://fv.pmhapp.cn/ksd2023/20240302100125.png" des="" />
<webMoney155 value="添加素材微信号,素材号,KSD134199,20231013222231766.png|加入QQ群1,QQ号,3660026742,20231013223228432.png|企业微信群,E森命业务交流,,https://fv.pmhapp.cn/ksd2023/20240302100125.png" des="" />
<webMoney156 value="0" des="" />
<webMoney157 value="0" des="" />
<webMoney158 value="0" des="" />
@@ -200,7 +200,7 @@
<CQEnable value="0,1,2" des="开通C区总开关" />
<CloseEnable value="0" des="是否关闭系统总开关" />
<CloseMsg value="因系统升级中,系统暂停服务!" des="关闭系统提示" />
<webName value="E森命" des="站点名称" />
<webName value="E森命" des="站点名称" />
<webUrl value="https://vip.agqyjs.com" des="站点地址" />
<webLogo value="/images/logo.jpg" des="站点LOGO" />
<webIcp value="" des="备案号" />
@@ -216,9 +216,9 @@
<webWatermark value="1" des="是否启用水印" />
<webWatemarkQuality value="100" des="水印质量" />
<webWatemarkUrl value="app_data\watermark.png" des="水印图片存放路径" />
<webKeywords value="E森命" des="站点关键字" />
<webDescription value="E森命" des="站点描述" />
<webCopyright value="CopyRight &amp;copy; 2015-2025 E森命 All Rights Reserved" des="版权信息" />
<webKeywords value="E森命" des="站点关键字" />
<webDescription value="E森命" des="站点描述" />
<webCopyright value="CopyRight &amp;copy; 2015-2025 E森命 All Rights Reserved" des="版权信息" />
<aliURL value="https://openapi.alipay.com/gateway.do" des="支付宝网关" />
<aliAPP_ID value="2021004122677272" des="支付宝分配给开发者的应用ID" />
<aliwebAPP_ID value="2021004154614222" des="支付宝分配给开发者的web应用ID" />
@@ -285,4 +285,19 @@
<ReDataMM value="2022-09-16 20:41" des="刷新数据密码" />
<IM_SDKAppID value="1600008672" des="即时通讯 IM SDKAppID" />
<IM_SDKSecretkey value="f72a3331a005ffefc478a5605ad472ead8f4720eafcd33cf38329360446b4aca" des="即时通讯 IM Secretkey" />
</config>
<level1_fixed_bonus value="0.25" des="等级1的最大奖金比例" />
<level2_fixed_bonus value="0.45" des="等级2的最大奖金比例" />
<level3_fixed_bonus value="0.55" des="等级3的最大奖金比例" />
<level4_fixed_bonus value="0.65" des="等级4的最大奖金比例" />
<upgrade_level2_amount_condition value="50000" des="升级到等级2的金额条件" />
<upgrade_level3_amount_condition value="200000" des="升级到等级3的金额条件" />
<upgrade_level4_amount_condition value="1000000" des="升级到等级4的金额条件" />
<upgrade_level2_person_condition value="2" des="升级到等级2的拉人条件" />
<upgrade_level3_person_condition value="4" des="升级到等级3的拉人条件" />
<upgrade_level4_person_condition value="8" des="升级到等级4的拉人条件" />
<direct_upgrade_level1_amount_condition value="1" des="直接升级到等级1的金额条件" />
<direct_upgrade_level2_amount_condition value="" des="直接升级到等级2的金额条件" />
<direct_upgrade_level3_amount_condition value="" des="直接升级到等级3的金额条件" />
<direct_upgrade_level4_amount_condition value="" des="直接升级到等级4的金额条件" />
<vouchervalue value="800" des="赠送兑换卷值" />
</config>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<!--数据库路径-->
<!--<add key="ConnStr" value="Server=localhost;uid=sa;pwd=xubo123!;database=DBhnyhua;Pooling=true;Connect Timeout=100;Max Pool Size=512;Min Pool Size=0;" />-->
<add key="ConnStr" value="Server=156.247.40.24,11433;uid=sa;pwd=1234qwer.;database=renyi;Pooling=true;Connect Timeout=100;Max Pool Size=512;Min Pool Size=0;"/>
<add key="ConnStr2" value="/App_Data/data.mdb" />
<add key="ConnStr2" value="/App_Data/data.mdb"/>
<add key="ServerName" value="156.247.40.24,11433" />
<add key="UserID" value="sa" />
<add key="UserPwd" value="1234qwer." />

View File

@@ -334,11 +334,11 @@
<li><a target="mainFrame" href="/Admin_Member_Products_SJ_Seef.aspx?t=2">联盟部商品列表</a></li>
<li><a target="mainFrame" href="/Admin_Member_Products_SJ_Orders.aspx?t=2">联盟部订单列表</a></li>-->
<li><a target="mainFrame" href="/Admin_Member_Products6.aspx">联盟部商品列表</a></li>
<!-- <li><a target="mainFrame" href="/Admin_Member_Products6.aspx">联盟部商品列表</a></li>
<li><a target="mainFrame" href="/Admin_Member_Products_Orders.aspx?t=8">联盟部订单列表</a></li>
<li><a target="mainFrame" href="/Admin_Member_Products_Tree6.aspx">分类管理</a></li>
<li><a target="mainFrame" href="/Admin_Member_Products_Tree6.aspx">分类管理</a></li>>-->
</ul>
</span>

View File

@@ -0,0 +1 @@
<%@ Page Language="C#" AutoEventWireup="true" Codebehind="hfpay_notify_url_huiyuan.aspx.cs" Inherits="Mtxfw.VipSite.hfpay_notify_url_huiyuan" %>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace Mtxfw.VipSite
{
public partial class hfpay_notify_url_huiyuan
{
}
}

View File

@@ -1,6 +1,7 @@
using Mtxfw.Utility;
using Mtxfw.VipSite.api;
using Newtonsoft.Json;
using Pathoschild.Http.Client.Formatters;
using Pathoschild.Http.Client.Internal;
using System;
using System.Collections.Generic;
@@ -4842,6 +4843,7 @@ namespace Mtxfw.VipSite
{
Mtxfw.Model.business_info bmodel = new Mtxfw.Model.business_info();
bmodel.CompanyName = name;
bmodel.Agentrading = "";
bmodel.ClsID = clsid;
bmodel.ClsnName = clsname;
bmodel.ClsID2 = 0;
@@ -5658,6 +5660,14 @@ namespace Mtxfw.VipSite
if (ifre)
{
int ParentID = 0;
if (!String.IsNullOrEmpty(context.Request["ParentID"]) && ifre)
{
if (System.Text.RegularExpressions.Regex.IsMatch(context.Request["ParentID"].ToString(), @"^-?\d+$"))
{
ParentID = Convert.ToInt32(Mtxfw.Utility.Tools.SafeSQL(context.Request["ParentID"].ToString()));
}
}
if (!String.IsNullOrEmpty(context.Request["id"]) && ifre)
{
if (System.Text.RegularExpressions.Regex.IsMatch(context.Request["id"].ToString(), @"^-?\d+$"))
@@ -5668,7 +5678,17 @@ namespace Mtxfw.VipSite
{
e = Convert.ToInt32(context.Request["e"].ToString());
}
Mtxfw.Model.Article model = daoArt.GetModel(id);
Mtxfw.Model.Article model = null;
if (ParentID > 0)
{
model = daoArt.GetModelbyParentID(ParentID);
}
else
{
model = daoArt.GetModel(id);
}
if (model != null)
{
string title = model.Title;
@@ -9429,17 +9449,26 @@ namespace Mtxfw.VipSite
string P_M_P = "";
string P_VIP_P = "";
string G_JG = "G_JG";
string JF = "";
string strzd = new DAL.P_Guige().Getzd("min(" + G_JG + ")", "ttype=0 And G_PID=" + P_ID + " And G_KC>0").ToString();
if (strzd != "")
{
P_VIP_P = Convert.ToDouble(strzd).ToString("f2");
}
strzd = new DAL.P_Guige().Getzd("min(G_JG2)", "ttype=0 And G_PID=" + P_ID + " And G_KC>0").ToString();
if (strzd != "")
{
P_Market_P = Convert.ToDouble(strzd).ToString("f2");
}
//string strzd = new DAL.P_Guige().Getzd("min(" + G_JG + ")", "ttype=0 And G_PID=" + P_ID + " And G_KC>0").ToString();
//if (strzd != "")
//{
// P_VIP_P = Convert.ToDouble(strzd).ToString("f2");
//}
//strzd = new DAL.P_Guige().Getzd("min(G_JG2)", "ttype=0 And G_PID=" + P_ID + " And G_KC>0").ToString();
//if (strzd != "")
//{
// P_Market_P = Convert.ToDouble(strzd).ToString("f2");
//}
//var adoGuige = new DAL.P_Guige().GetModelByProductId(P_ID);
//if (adoGuige != null)
//{
// P_VIP_P = Convert.ToDouble(adoGuige.G_JG).ToString("f2");
// JF = Convert.ToDouble(adoGuige.G_JF).ToString("f2");
// P_Market_P = Convert.ToDouble(adoGuige.G_JG + adoGuige.G_JF).ToString("f2");
//}
int IFAutoed = 0;
if (IFAuto > 0 && userId > 0)
{
@@ -9450,7 +9479,7 @@ namespace Mtxfw.VipSite
}
string P_images = drv2["P_images"].ToString().Split('|')[0].Split(',')[0];
string x = "220x220";
strdata += "{\"_id\":\"" + P_ID + "\",\"IFAutoed\":\"" + IFAutoed + "\",\"ywccount\":\"" + ywccount + "\",\"ypzcount\":\"" + ypzcount + "\",\"name\":\"" + Mtxfw.Utility.Common.ReplaceString(P_NAME) + "\",\"scje\":\"" + P_Market_P + "\",\"xjje\":\"" + P_M_P + "\",\"hyje\":\"" + P_VIP_P + "\",\"YPTNum\":\"" + P_JiangLi + "\",\"image\":\"" + config.webUrl + Mtxfw.Utility.Common.GetCoverPic(P_images, x, "cut") + "\"";
strdata += "{\"_id\":\"" + P_ID + "\",\"IFAutoed\":\"" + IFAutoed + "\",\"ywccount\":\"" + ywccount + "\",\"ypzcount\":\"" + ypzcount + "\",\"name\":\"" + Mtxfw.Utility.Common.ReplaceString(P_NAME) + "\",\"scje\":\"" + P_Market_P + "\",\"xjje\":\"" + P_M_P + "\",\"hyje\":\"" + P_VIP_P + "\",\"jf\":\"" + JF + "\",\"YPTNum\":\"" + P_JiangLi + "\",\"image\":\"" + config.webUrl + Mtxfw.Utility.Common.GetCoverPic(P_images, x, "cut") + "\"";
strdata += ",\"spell_list\":[";
/*if (userId > 0)
{
@@ -9568,19 +9597,31 @@ namespace Mtxfw.VipSite
string P_VIP_P = "";
string G_JG = "G_JG";
string strzd = new DAL.P_Guige().Getzd("min(" + G_JG + ")", "ttype=0 And G_PID=" + P_ID + " And G_KC>0").ToString();
if (strzd != "")
{
P_VIP_P = Convert.ToDouble(strzd).ToString("f2");
}
strzd = new DAL.P_Guige().Getzd("min(G_JG2)", "ttype=0 And G_PID=" + P_ID + " And G_KC>0").ToString();
if (strzd != "")
{
P_Market_P = Convert.ToDouble(strzd).ToString("f2");
}
//string strzd = new DAL.P_Guige().Getzd("min(" + G_JG + ")", "ttype=0 And G_PID=" + P_ID + " And G_KC>0").ToString();
//if (strzd != "")
//{
// P_VIP_P = Convert.ToDouble(strzd).ToString("f2");
//}
//strzd = new DAL.P_Guige().Getzd("min(G_JG2)", "ttype=0 And G_PID=" + P_ID + " And G_KC>0").ToString();
//if (strzd != "")
//{
// P_Market_P = Convert.ToDouble(strzd).ToString("f2");
//}
string P_images = drv2["P_images"].ToString().Split('|')[0].Split(',')[0];
string JF = "";
int pid = Convert.ToInt32(drv2["P_ID"].ToString());
var adoGuige = new DAL.P_Guige().GetModelByProductId(pid);
if (adoGuige != null)
{
P_VIP_P = Convert.ToDouble(adoGuige.G_JG).ToString("f2");
JF = Convert.ToDouble(adoGuige.G_JF).ToString("f2");
P_Market_P = Convert.ToDouble(adoGuige.G_JG + adoGuige.G_JF).ToString("f2");
}
string x = "220x220";
strdata += "{\"_id\":\"" + P_ID + "\",\"name\":\"" + Mtxfw.Utility.Common.ReplaceString(P_NAME) + "\",\"scje\":\"" + P_Market_P + "\",\"xjje\":\"" + P_M_P + "\",\"hyje\":\"" + P_VIP_P + "\",\"image\":\"" + (P_images.IndexOf("http") != -1 ? P_images + "?imageView2/2/w/220/h/220/q/75" : config.webUrl + Mtxfw.Utility.Common.GetCoverPic(P_images, x, "cut")) + "\"},";
strdata += "{\"_id\":\"" + P_ID + "\",\"name\":\"" + Mtxfw.Utility.Common.ReplaceString(P_NAME) + "\",\"scje\":\"" + P_Market_P + "\",\"jf\":\"" + JF + "\",\"xjje\":\"" + P_M_P + "\",\"hyje\":\"" + P_VIP_P + "\",\"image\":\"" + (P_images.IndexOf("http") != -1 ? P_images + "?imageView2/2/w/220/h/220/q/75" : config.webUrl + Mtxfw.Utility.Common.GetCoverPic(P_images, x, "cut")) + "\"},";
}
if (strdata.Substring(strdata.Length - 1, 1) == ",")
{
@@ -10745,6 +10786,7 @@ namespace Mtxfw.VipSite
}
if (!ifb)
{
Mtxfw.Utility.WXaccess_token ac = Mtxfw.Utility.Common.getxaccess_token(config.webXAppID, config.webXAppSecret);
config.webXaccess_token = ac.access_token;
config.webXaccess_token_time = dt1.ToString("yyyy-MM-dd HH:mm:ss");
@@ -16297,7 +16339,9 @@ namespace Mtxfw.VipSite
{
money0 = money1;
}
DAL.MemberStatistics.UpdteYJ(config, umodel, money, money0, money2, money3, gtype, dt, OrderModel.ttype, OrderModel.ptype, peitype, OrderModel.orderid, OrderModel.Id, OrderModel.Province, OrderModel.City, OrderModel.County, OrderModel.Tradingarea);
///lym修改
//DAL.MemberStatistics.UpdteYJ(config, umodel, money, money0, money2, money3, gtype, dt, OrderModel.ttype, OrderModel.ptype, peitype, OrderModel.orderid, OrderModel.Id, OrderModel.Province, OrderModel.City, OrderModel.County, OrderModel.Tradingarea);
DAL.MemberStatistics_huiyuan.UpdteYJ(config, umodel, money, gtype, dt, OrderModel.ttype, OrderModel.ptype, peitype, OrderModel.orderid, OrderModel.Id, OrderModel.Province, OrderModel.City, OrderModel.County, OrderModel.Tradingarea);
}
if (utype == 14)
{
@@ -16379,7 +16423,11 @@ namespace Mtxfw.VipSite
}
else
{
//银花支付目前进的这里
var webName = config.webName;//仁E森命or 银花支付
//0官方支付1汇付支付
var isHfPay = 1;
if (webName.Contains("仁E森命"))
///银花支付目前进的这里
strProductName = strProductName.Replace("%", "度").Replace(" ", "");
if (strProductName.Length > 120)
{