Browse Source

[WHAT] 會員上傳

Dev
Janie 2 years ago
parent
commit
8c376ad1aa
  1. 7
      EuroTran/EasyBL.WEBAPP/ShowEasy/MembersService.cs

7
EuroTran/EasyBL.WEBAPP/ShowEasy/MembersService.cs

@ -221,7 +221,7 @@ namespace EasyBL.WEBAPP.SYS
#region Upload 上傳文件
public HttpResponseMessage Upload(string OrgID, string Account)
public HttpResponseMessage Upload()
{
SuccessResponseMessage srm = null;
string sError = null;
@ -229,7 +229,6 @@ namespace EasyBL.WEBAPP.SYS
{
var c = HttpContext.Current;
//var c = MemberPicture;
var sGUID = Guid.NewGuid().ToString();
SECommonService commonService = new SECommonService();
@ -241,9 +240,7 @@ namespace EasyBL.WEBAPP.SYS
var db = SugarBase.DB;
SETB_CMS_Member i_crm = new SETB_CMS_Member();
//// 缺userid 和orgid
var iRel = db.Updateable(i_crm)
.Where(i_crm.OrgID == OrgID && i_crm.Accountz)
.ExecuteCommand();
var iRel = db.Updateable(i_crm).ExecuteCommand();
srm = new SuccessResponseMessage(null, null);
srm.DATA.Add(BLWording.REL, iRel);
}

Loading…
Cancel
Save