|
@@ -443,7 +443,7 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
curData.Add("Name", subdata.Name); //名称
|
|
|
curData.Add("Id", subdata.Id); //Id
|
|
|
curData.Add("CreateDate", subdata.CreateDate == null ? "" : subdata.CreateDate.Value.ToString("yyyy-MM-dd HH:mm:ss")); //CreateDate
|
|
|
- curData.Add("Status", GetMainStatusName(AddInfo.QueryCount, AddInfo.Status)); //Status
|
|
|
+ curData.Add("Status", GetStatusName(AddInfo.Status)); //Status
|
|
|
curData.Add("MainType", AddInfo.SubjectType); //主体类型
|
|
|
dataList.Add(curData);
|
|
|
}
|
|
@@ -729,6 +729,14 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
if(AlipayStatus == 2 && WeChatStatus == 2) return "已通过";
|
|
|
return "";
|
|
|
}
|
|
|
+ private string GetStatusName(int WeChatStatus)
|
|
|
+ {
|
|
|
+ if(WeChatStatus == -1) return "审核未通过";
|
|
|
+ if(WeChatStatus == 0) return "待审核";
|
|
|
+ if(WeChatStatus == 1) return "待签约";
|
|
|
+ if(WeChatStatus == 2) return "已通过";
|
|
|
+ return "";
|
|
|
+ }
|
|
|
#endregion
|
|
|
|
|
|
|