|
@@ -54,8 +54,8 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
var Amount = 0.00M;
|
|
|
var Amount2 = 0.00M;
|
|
|
var consumer = Services.Main.ConsumersService.Query(" and WechatOpenId='" + OpenId + "'");
|
|
|
- Amount = Services.Main.ConsumerProfitService.Sum(" and ConsumerId=" + consumer.Id + "", "GetMoney");
|
|
|
- Amount2 = Services.Main2.ConsumerProfitService.Sum(" and ConsumerId=" + consumer.Id + "", "GetMoney");
|
|
|
+ // Amount = Services.Main.ConsumerProfitService.Sum(" and ConsumerId=" + consumer.Id + "", "GetMoney");
|
|
|
+ // Amount2 = Services.Main2.ConsumerProfitService.Sum(" and ConsumerId=" + consumer.Id + "", "GetMoney");
|
|
|
TotalAmount = Amount + Amount2;
|
|
|
if (consumer.Id > 0)
|
|
|
{
|
|
@@ -63,7 +63,7 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
NickName = consumer.NickName;
|
|
|
}
|
|
|
var token = PublicFunction.AppToken(consumer.Id, JwtSecret, JwtIss);
|
|
|
- Obj.Add("Amount", TotalAmount); //累计返现金额
|
|
|
+ Obj.Add("Amount", 0.00); //累计返现金额
|
|
|
Obj.Add("HeadPhoto", HeadPhoto); //头像
|
|
|
Obj.Add("NickName", NickName); //昵称
|
|
|
Obj.Add("Token", token); //token
|