SourceCode/jiouosdp/Controllers/Crowdfundings/RAController.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using RFrameGenerate.BLL;
using RFrameGenerate.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace jiouosdp.Controllers.Crowdfundings
{
public class RAController : BaseWeiXinController
{
public ActionResult Index(Guid id)
{
ViewBag.cwid = id;
return View();
}
public ActionResult Add(Guid id,int d = 0)
{
ViewBag.cwid = id;
return View();
}
public JsonResult AddAddress(T_BAS_RecieverAddress address)
{
var result = RecieverAddressManage.Add(address);
if (result.State == true)
return Json(new { Result = "OK", id = address.RecieverAddressGuid });
else
return Json(new { Result = "NO", Msg = result.Msg });
}
public ActionResult Update(Guid id,Guid cwid)
{
ViewBag.cwid = cwid;
ViewBag.Address = RecieverAddressManage.GetREcieverAdddressByGuid(id);
return View();
}
public JsonResult UpdateAddress(T_BAS_RecieverAddress address)
{
var result = RecieverAddressManage.Update(address);
if (result.State == true)
return Json(new { Result = "OK" });
else
return Json(new { Result = "NO", Msg = result.Msg });
}
public JsonResult DeleteAddress(Guid id)
{
var result = RecieverAddressManage.Delete(id);
if (result.State == true)
return Json(new { Result = "OK" });
else
return Json(new { Result = "NO", Msg = result.Msg });
}
public JsonResult DefaultAddress(Guid id)
{
后面还有 18 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。