Hidistro.UI.Web/Admin/Member/setScore_sign.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_sign : AdminPage
{
protected static bool _continuityEnable = false;
protected static bool _signEnable = false;
protected static string _urlType = "sign";
protected Button btn_signSave;
protected HiddenField hdContinuityEnable;
protected HtmlForm thisForm;
protected TextBox txt_sign_RewardScore;
protected TextBox txtEverDayScore;
protected TextBox txtStraightDay;
protected setScore_sign() : base("m04", "hyp07")
{
}
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_signSave_Click(object sender, EventArgs e)
{
int i = 0;
int num2 = 0;
int num3 = 0;
string text = this.txtEverDayScore.Text;
string str2 = this.txtStraightDay.Text;
string str3 = this.txt_sign_RewardScore.Text;
_urlType = "sign";
if (!string.IsNullOrEmpty(text))
{
if (!this.bInt(text, ref i))
{
this.ShowMsg("请输入正确的每日签到积分!", false);
后面还有 62 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
