修改业务以及极客

This commit is contained in:
“wanyongkang”
2024-05-24 17:14:53 +08:00
parent a014f8ba88
commit 0ab09911f4
6 changed files with 21 additions and 10 deletions

View File

@@ -679,10 +679,17 @@ namespace Home.Controllers
Func<string, Task<string>> process = async (data) =>
{
var notifyOrder = data.FromJsonTo<TaoBaoNotifyModel>();
var taobaoEntity = notifyOrder.MapTo<TaoBaoOrderEntity>();
// if(notifyOrder.Payment == "10.00" && (notifyOrder.SellerNick == "聚ip商城动态ip代理" || notifyOrder.SellerNick == "老鹰动态pptp")||notifyOrder.SellerNick == "强子pptp动态"){
// return "您好,"+notifyOrder.Payment+"元已充值到充值到您的会员中";
// }
if((notifyOrder.SellerNick == "聚ip商城动态ip代理" || notifyOrder.SellerNick == "老鹰动态pptp")||notifyOrder.SellerNick == "强子pptp动态"||notifyOrder.SellerNick == "可乐开发商"){
taobaoEntity.Phone = "none";
taobaoEntity.SkuPropertiesName = notifyOrder.Orders.FirstOrDefault()?.SkuPropertiesName;
await m_TaoBaoService.Add(taobaoEntity);
return "亲您这边是需要我们代开还是您自己开默认是自己到官网开哈官网juip.com。";
}
if (notifyOrder == null || notifyOrder.Tid.NotHas())
return "";
@@ -747,7 +754,6 @@ namespace Home.Controllers
await m_CouponService.TaoBaoGive(userEntity.Id, 15, notifyOrder.BuyerNick);
var taobaoEntity = notifyOrder.MapTo<TaoBaoOrderEntity>();
taobaoEntity.Phone = phone;
taobaoEntity.SkuPropertiesName = notifyOrder.Orders.FirstOrDefault()?.SkuPropertiesName;

View File

@@ -254,7 +254,7 @@
<p>注解除屏蔽后qq和微信也仅可用于游戏之类的登录授权不可用于聊天添加好友等聊天软件内部的功能系统有严密日志如有此类情况账号立即封停且不予退款若触犯相关法律将上报给公安部门请您知晓</p>
<form enctype="multipart/form-data">
<div class="form-group">
<label for="name">详细述业务用途<span class="glyphicon glyphicon-asterisk" style="color:red;"></span></label>
<label for="name">详细述业务用途<span class="glyphicon glyphicon-asterisk" style="color:red;"></span></label>
<input type="text" v-model="describe" class="form-control" id="name" placeholder="请描述业务用途">
</div>

View File

@@ -140,7 +140,7 @@
<tr>
<td><input type="checkbox" class="selectAccount" value="@item.Account" a-status="@(item.Status)" a-pid="@(item.ProductId)" a-connectCount="@item.ConnectCount" a-aType="@item.AccountType" style="width: 0.4rem;height: 0.4rem;" /></td>
<td>@item.ProductName/@item.PackageName</td>
<td>@item.Account<br>@item.Pwd</td>
<td> <a style="cursor:pointer;" v-on:click="copyText('@item.Account')">复制</a><br>@item.Pwd <a style="cursor:pointer;" v-on:click="copyText('@item.Pwd')">复制</a></td>
<td>
<button type="button" class="btnXq toDetail"
a-Id="@item.Id"

View File

@@ -410,10 +410,10 @@
<td>@item.CreateTime.ToString("yyyy.MM.dd")</td>
<td>@item.ProductName</td>
<td>@item.PackageName</td>
<td>@item.Account</td>
<td>@item.Pwd<img src="~/img/change.png" class="change" v-on:click="showAccountBox(@item.Id,'@item.Account','@item.Pwd')" /></td>
<td>@item.Account <a style="cursor:pointer;" v-on:click="copyText('@item.Account')">复制</a></td>
<td>@item.Pwd <a style="cursor:pointer;" v-on:click="copyText('@item.Pwd')">复制</a><img src="~/img/change.png" class="change" v-on:click="showAccountBox(@item.Id,'@item.Account','@item.Pwd')" /></td>
<td class="blueT"><span v-if="@item.ProductId==28">@(item.Remark)<a v-on:click="change_ip('@item.Id','@item.PackageName','@item.Account','@item.Remark')" data-toggle="modal" data-target="#change_ip_city">切换</a></span></td>
<td class="blueT" v-if="@item.ProductId==28">@(item.Raw)</td>
<td class="blueT" v-if="@item.ProductId==28">@(item.Raw) <a style="cursor:pointer;" v-on:click="copyText('@(item.Raw)')">复制</a></td>
<td class="blueT" v-if="@item.ProductId!=28"><a asp-action="Index" asp-controller="LineList" asp-route-ProductId="@item.ProductId" target="_blank">查看</a> </td>
<td>@item.ConnectCount</td>

View File

@@ -13,7 +13,7 @@
<p>注解除屏蔽后qq和微信也仅可用于游戏之类的登录授权不可用于聊天添加好友等聊天软件内部的功能系统有严密日志如有此类情况账号立即封停且不予退款若触犯相关法律将上报给公安部门请您知晓</p>
<form enctype="multipart/form-data">
<div class="form-group">
<label for="name">详细述业务用途<span class="glyphicon glyphicon-asterisk" style="color:red;"></span></label>
<label for="name">详细述业务用途<span class="glyphicon glyphicon-asterisk" style="color:red;"></span></label>
<input type="text" v-model="describe" class="form-control" id="name" placeholder="请描述业务用途">
</div>

View File

@@ -246,6 +246,11 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
{
return new ApiResult<ProductOrderEntity>(ResultCode.C_INVALID_ERROR, "产品不存在或者下架");
}
if (packageEntity.ProductId == 13)
{
return new ApiResult<ProductOrderEntity>(ResultCode.C_INVALID_ERROR, "因极客和西瓜产品完全一样为方便管理只保留西瓜IP如需使用极客IP可直接购买西瓜IP。");
}
// if (productEntity.Status == 0)
// {
// return new ApiResult<ProductOrderEntity>(ResultCode.C_INVALID_ERROR, "产品不存在或者下架");