Hidistro.UI.Web/Admin/Member/setScore_shopping.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace Hidistro.UI.Web.Admin.Member
{
using Hidistro.Core;
using Hidistro.Core.Entities;
using Hidistro.UI.ControlPanel.Utility;
using System;
using System.Linq;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
public class setScore_shopping : AdminPage
{
protected static bool _shoppingEnable = false;
protected static string _urlType = "shopping";
protected Button btn_shoppingSave;
protected CheckBox chk;
protected HtmlForm thisForm;
protected TextBox txt_OrderValue;
protected TextBox txt_shopping_RewardScore;
protected TextBox txt_ShoppingScore;
protected setScore_shopping() : base("m04", "hyp06")
{
}
private bool bDouble(string val, ref double i)
{
i = 0.0;
if (val.Contains("-"))
{
return false;
}
return double.TryParse(val, out i);
}
private bool bInt(string val, ref int i)
{
i = 0;
if (val.Contains("-"))
{
return false;
}
return int.TryParse(val, out i);
}
protected void btn_shoppingSave_Click(object sender, EventArgs e)
{
_urlType = "shopping";
int i = 0;
bool flag = false;
double num2 = 0.0;
int num3 = 0;
flag = this.chk.Checked;
string text = this.txt_ShoppingScore.Text;
string str2 = this.txt_OrderValue.Text;
string str3 = this.txt_shopping_RewardScore.Text;
if (!string.IsNullOrEmpty(text))
{
if (!this.bInt(text, ref i))
{
后面还有 62 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
