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