Commit 8c3a1ab7 by huangruiyao

aims日志记录功能

parent 9165f31d
...@@ -10,5 +10,9 @@ ...@@ -10,5 +10,9 @@
}, },
"QiYeJiQiRen": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5fa4c1d5-ce65-4e8a-9ae9-a0d689a13b65", "QiYeJiQiRen": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5fa4c1d5-ce65-4e8a-9ae9-a0d689a13b65",
"GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922", "GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922",
"postaveragesales": "http://doc.bailuntec.com:6032/postaveragesales" "postaveragesales": "http://doc.bailuntec.com:6032/postaveragesales",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
...@@ -10,5 +10,9 @@ ...@@ -10,5 +10,9 @@
}, },
"QiYeJiQiRen": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5fa4c1d5-ce65-4e8a-9ae9-a0d689a13b65", "QiYeJiQiRen": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5fa4c1d5-ce65-4e8a-9ae9-a0d689a13b65",
"GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922", "GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922",
"postaveragesales": "http://10.0.6.27/api/pds/postaveragesales" "postaveragesales": "http://10.0.6.27/api/pds/postaveragesales",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
...@@ -10,5 +10,9 @@ ...@@ -10,5 +10,9 @@
}, },
"QiYeJiQiRen": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5fa4c1d5-ce65-4e8a-9ae9-a0d689a13b65", "QiYeJiQiRen": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5fa4c1d5-ce65-4e8a-9ae9-a0d689a13b65",
"GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922", "GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922",
"postaveragesales": "http://10.0.6.27/api/pds/postaveragesales" "postaveragesales": "http://10.0.6.27/api/pds/postaveragesales",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
using AutoTurnOver.Models; using AutoTurnOver.Models;
using AutoTurnOver.Models.Base; using AutoTurnOver.Models.Base;
using AutoTurnOver.Models.Report; using AutoTurnOver.Models.Report;
using Bailun.ServiceFabric.Core; using Bailun.ServiceFabric;
using Dapper; using Dapper;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
......
...@@ -6,5 +6,9 @@ ...@@ -6,5 +6,9 @@
"ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine", "ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine",
"Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics", "Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics",
"PostPlatCategoryRate": "http://test.profit.bailuntec.com/api/platfee/ProfitPlatfee/PostPlatCategoryRate", "PostPlatCategoryRate": "http://test.profit.bailuntec.com/api/platfee/ProfitPlatfee/PostPlatCategoryRate",
"api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory" "api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
...@@ -6,5 +6,9 @@ ...@@ -6,5 +6,9 @@
"ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine", "ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine",
"Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics", "Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics",
"PostPlatCategoryRate": "http://test.profit.bailuntec.com/api/platfee/ProfitPlatfee/PostPlatCategoryRate", "PostPlatCategoryRate": "http://test.profit.bailuntec.com/api/platfee/ProfitPlatfee/PostPlatCategoryRate",
"api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory" "api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
...@@ -6,5 +6,9 @@ ...@@ -6,5 +6,9 @@
"ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine", "ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine",
"Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics", "Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics",
"PostPlatCategoryRate": "http://172.31.255.11/api/platfee/ProfitPlatfee/PostPlatCategoryRate", "PostPlatCategoryRate": "http://172.31.255.11/api/platfee/ProfitPlatfee/PostPlatCategoryRate",
"api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory" "api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
\ No newline at end of file
using AutoTurnOver.DB; using AutoTurnOver.DB;
using AutoTurnOver.Models; using AutoTurnOver.Models;
using AutoTurnOver.Models.ApiDto; using AutoTurnOver.Models.ApiDto;
using Bailun.ServiceFabric.Core; using Bailun.ServiceFabric;
using Dapper; using Dapper;
using MySql.Data.MySqlClient;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data;
using System.Linq; using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
......
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Baidu.AI" Version="3.6.14" /> <PackageReference Include="Baidu.AI" Version="3.6.14" />
<PackageReference Include="Bailun.ServiceFabric.Authorize" Version="1.0.5" />
<PackageReference Include="Bailun.ServiceFabric.Core" Version="1.2.2" />
<PackageReference Include="Bailun.ServiceFabric.CustomLog" Version="1.0.1" />
<PackageReference Include="Bailun.ServiceFabric.Redis" Version="1.0.1" /> <PackageReference Include="Bailun.ServiceFabric.Redis" Version="1.0.1" />
<PackageReference Include="EPPlus.Core" Version="1.5.4" /> <PackageReference Include="EPPlus.Core" Version="1.5.4" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.1.1" /> <PackageReference Include="Microsoft.Extensions.Configuration" Version="2.1.1" />
......
using System;
using Microsoft.AspNetCore.Mvc.Filters;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using Newtonsoft.Json;
using Bailun.ServiceFabric;
using ConfigManagerConf = Bailun.ServiceFabric.ConfigManagerConf;
namespace AutoTurnOver.Utility
{
public class BrowseLogAttribute : ActionFilterAttribute
{
/// <summary>
/// 项目id
/// </summary>
private readonly string _projectCode;
/// <summary>
/// 模块名称
/// </summary>
private readonly string _moduleName;
/// <summary>
/// 备注信息
/// </summary>
private readonly string _remark;
/// <summary>
/// 操作类型 (0查、1增、2删、3修改)
/// </summary>
private readonly int _operationType;
/// <summary>
/// 此特性负责写浏览日志
/// </summary>
/// <param name="projectId">项目id</param>
/// <param name="moduleName">模块名称</param>
/// <param name="operationType">操作类型 (0查、1增、2删、3修改)</param>
/// <param name="remark">备注信息</param>
public BrowseLogAttribute(string projectCode, string moduleName, int operationType, string remark = "")
{
_projectCode = projectCode;
_moduleName = moduleName;
_operationType = operationType;
_remark = remark;
}
public override void OnActionExecuted(ActionExecutedContext context)
{
try
{
//获取appsetting配置失败暂时直接赋值开启是否开启日志记录功能 “yes”/“no”
string canLogValue = "yes";
// string canLogValue = ConfigManagerConf.GetValue("BrowseLogSetting:CanLog");
if (canLogValue != "yes")
{
return;
}
var userId = context.HttpContext?.User?.GetUid();
if (userId==null)
{
return;
}
var userName = context.HttpContext?.User?.GetUserName();
var companyId = context.HttpContext?.User?.GetCompanyId();
// 执行结果
var isSuccessed = true;
// 执行失败的信息
var execFaildMsg = "";
if (context.Exception != null && context.Result == null)
{
// 方法执行失败 有异常
isSuccessed = false;
execFaildMsg = context.Exception.Message;
}
// 组装写日志的入参
var input = new AddOperationLogInfoInput
{
UserId =Convert.ToInt32(userId ?? 0),
UserName = userName?? "system",
ProjectCode = _projectCode,
OperationType = _operationType,
OperationContent = _moduleName,
OperationTime = DateTime.Now,
IsSuccessed = isSuccessed,
FailInfo = execFaildMsg,
Remarks = _remark,
CompanyId = companyId??"1"
};
//服务配置获取失败直接赋值给url进行日志记录若解决获取配置问题可取消注释 源码:var url = ConfigManagerConf.GetValue("BrowseLogSetting:Url");
var url = "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo";
var logRes = PostAsync<AddOperationLogInfoInput, AddOperationLogInfoOutput>(url, input);
if (logRes.StatusCode != 200)
{
Console.WriteLine($"写浏览日志失败:{logRes.Message}");
}
}
catch (Exception e)
{
Console.WriteLine(e);
}
}
/// <summary>
/// HttpClient实现Post请求
/// </summary>
/// <typeparam name="T1">传入对象类型</typeparam>
/// <typeparam name="T2">返回对象类型</typeparam>
/// <param name="url"></param>
/// <param name="content"></param>
/// <returns></returns>
public static T2 PostAsync<T1, T2>(string url, T1 content) where T2 : new()
{
if (string.IsNullOrWhiteSpace(url) || content == null)
{
return new T2();
}
try
{
//设置内容压缩
var handler = new HttpClientHandler() { AutomaticDecompression = DecompressionMethods.GZip };
using (var client = new HttpClient(handler))
{
client.DefaultRequestHeaders.Accept.Clear();
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
var postDataJson = JsonConvert.SerializeObject(content, new JsonSerializerSettings()
{
ReferenceLoopHandling = ReferenceLoopHandling.Ignore,
NullValueHandling = NullValueHandling.Ignore
});
var response = client.PostAsync(url, new StringContent(postDataJson, Encoding.UTF8, "application/json")).Result;
//var response = client.PostAsJsonAsync<T1>(url, content).Result;
if (response.IsSuccessStatusCode)
{
var reponseResult = response.Content.ReadAsStringAsync().Result;
var result = JsonConvert.DeserializeObject<T2>(reponseResult, new JsonSerializerSettings()
{
ReferenceLoopHandling = ReferenceLoopHandling.Ignore,
NullValueHandling = NullValueHandling.Ignore
});
return result;
}
return JsonConvert.DeserializeObject<T2>(null, new JsonSerializerSettings()
{
ReferenceLoopHandling = ReferenceLoopHandling.Ignore,
NullValueHandling = NullValueHandling.Ignore
});
//return new T2() { Message = "HTTP响应失败", };
}
}
catch (Exception ex)
{
throw ex;
}
}
public class AddOperationLogInfoOutput
{
/// <summary>
/// 信息
/// </summary>
[JsonProperty("message")]
public string Message { get; set; }
/// <summary>
/// 结果
/// </summary>
[JsonProperty("result")]
public object Result { get; set; }
/// <summary>
/// 状态码
/// </summary>
[JsonProperty("statusCode")]
public int StatusCode { get; set; }
}
public class AddOperationLogInfoInput
{
/// <summary>
///
/// </summary>
public int UserId { get; set; }
/// <summary>
/// 系统id
/// </summary>
public int ProjectId { get; set; }
/// <summary>
/// 系统代码
/// </summary>
public string ProjectCode { get; set; }
/// <summary>
///
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 公司id
/// </summary>
public string CompanyId { get; set; }
/// <summary>
/// 操作类型(0查、1增、2删、3修改)
/// </summary>
public int OperationType { get; set; }
/// <summary>
/// 操作内容
/// </summary>
public string OperationContent { get; set; }
/// <summary>
/// 操作时间
/// </summary>
public DateTime OperationTime { get; set; }
/// <summary>
/// 是否操作成功
/// </summary>
public bool IsSuccessed { get; set; }
/// <summary>
/// 失败原因
/// </summary>
public string FailInfo { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remarks { get; set; }
}
}
}
\ No newline at end of file
...@@ -35,6 +35,6 @@ ...@@ -35,6 +35,6 @@
</Content> </Content>
</ItemGroup> </ItemGroup>
<ProjectExtensions><VisualStudio><UserProperties /></VisualStudio></ProjectExtensions> <ProjectExtensions><VisualStudio><UserProperties appsettings_1json__JsonSchema="" /></VisualStudio></ProjectExtensions>
</Project> </Project>
...@@ -8,6 +8,7 @@ using System.Threading.Tasks; ...@@ -8,6 +8,7 @@ using System.Threading.Tasks;
using AutoTurnOver.Common; using AutoTurnOver.Common;
using AutoTurnOver.Models; using AutoTurnOver.Models;
using AutoTurnOver.Services; using AutoTurnOver.Services;
using AutoTurnOver.Utility;
using Dapper; using Dapper;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
...@@ -18,6 +19,7 @@ namespace AutoTurnOver.Controllers ...@@ -18,6 +19,7 @@ namespace AutoTurnOver.Controllers
[ApiController] [ApiController]
public class CashFlowController : ControllerBase public class CashFlowController : ControllerBase
{ {
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【现金流】->【报表】->【搜索】页面", 0)]
public JsonResult GetView(DateTime? btime, DateTime? etime, string platform_type, string web_site, string bailun_sku, string warehouse_code) public JsonResult GetView(DateTime? btime, DateTime? etime, string platform_type, string web_site, string bailun_sku, string warehouse_code)
{ {
report_cash_flow_view_search_dto search_data = new report_cash_flow_view_search_dto report_cash_flow_view_search_dto search_data = new report_cash_flow_view_search_dto
...@@ -99,7 +101,7 @@ namespace AutoTurnOver.Controllers ...@@ -99,7 +101,7 @@ namespace AutoTurnOver.Controllers
memory.Position = 0; memory.Position = 0;
return File(memory, "text/csv", "现金流明细.csv"); return File(memory, "text/csv", "现金流明细.csv");
} }
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【现金流】->【仓库sku现金流列表】->【搜索】页面", 0)]
public JsonResult GetSkuView(int? data_type, string sku_label, string bailun_sku, int offset, int limit, string order, string sort, string buyer_name, string warehousecode, string supplier_name, string warehousetype, int? warehousearea, int? monitor_status = null, string product_type = null) public JsonResult GetSkuView(int? data_type, string sku_label, string bailun_sku, int offset, int limit, string order, string sort, string buyer_name, string warehousecode, string supplier_name, string warehousetype, int? warehousearea, int? monitor_status = null, string product_type = null)
{ {
try try
......
...@@ -31,6 +31,7 @@ namespace AutoTurnOver.Controllers ...@@ -31,6 +31,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【安全库存配置】->【搜索】页面", 0)]
public JsonResult InventoryList(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null) public JsonResult InventoryList(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null)
{ {
var m = new Condition_ConfigPromotion var m = new Condition_ConfigPromotion
...@@ -59,6 +60,7 @@ namespace AutoTurnOver.Controllers ...@@ -59,6 +60,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【安全库存配置】->【新增规则】->【保存】操作", 1)]
public JsonResult SaveInventory([FromBody]dc_auto_config_safe_inventory m) public JsonResult SaveInventory([FromBody]dc_auto_config_safe_inventory m)
{ {
var result = new Services.ConfigServices().SaveInventory(m, ""); var result = new Services.ConfigServices().SaveInventory(m, "");
...@@ -96,6 +98,7 @@ namespace AutoTurnOver.Controllers ...@@ -96,6 +98,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【销量上限】->【搜索】页面", 0)]
public JsonResult SalesUpperLimitList(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null) public JsonResult SalesUpperLimitList(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null)
{ {
var m = new Condition_ConfigPromotion var m = new Condition_ConfigPromotion
...@@ -124,6 +127,7 @@ namespace AutoTurnOver.Controllers ...@@ -124,6 +127,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【销量上限配置】->【新增规则】->【保存】操作", 1)]
public JsonResult SaveSalesUpperLimit([FromBody]dc_auto_config_sales_upper_limit m) public JsonResult SaveSalesUpperLimit([FromBody]dc_auto_config_sales_upper_limit m)
{ {
var result = new Services.ConfigServices().SaveSalesUpperLimit(m, ""); var result = new Services.ConfigServices().SaveSalesUpperLimit(m, "");
...@@ -161,6 +165,7 @@ namespace AutoTurnOver.Controllers ...@@ -161,6 +165,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【调拨初始值配置】->【搜索】页面", 0)]
public JsonResult ConfigDeliveryList(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null) public JsonResult ConfigDeliveryList(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null)
{ {
var m = new Condition_ConfigPromotion var m = new Condition_ConfigPromotion
...@@ -188,6 +193,7 @@ namespace AutoTurnOver.Controllers ...@@ -188,6 +193,7 @@ namespace AutoTurnOver.Controllers
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【调拨初始值配置】->【新增规则】->【保存】操作", 1)]
public JsonResult SaveConfigDelivery([FromBody]dc_auto_config_delivery m) public JsonResult SaveConfigDelivery([FromBody]dc_auto_config_delivery m)
{ {
var result = new Services.ConfigServices().SaveConfigDelivery(m, ""); var result = new Services.ConfigServices().SaveConfigDelivery(m, "");
...@@ -225,6 +231,7 @@ namespace AutoTurnOver.Controllers ...@@ -225,6 +231,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【备货天数配置】->【搜索】页面", 0)]
public JsonResult StockUpList(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null) public JsonResult StockUpList(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null)
{ {
var m = new Condition_ConfigPromotion var m = new Condition_ConfigPromotion
...@@ -253,6 +260,7 @@ namespace AutoTurnOver.Controllers ...@@ -253,6 +260,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【备货天数配置】->【新增规则】->【保存】操作", 1)]
public JsonResult SaveStockUp([FromBody]dc_auto_config_stock_up_days m) public JsonResult SaveStockUp([FromBody]dc_auto_config_stock_up_days m)
{ {
var result = new Services.ConfigServices().SaveStockUp(m, ""); var result = new Services.ConfigServices().SaveStockUp(m, "");
...@@ -294,6 +302,7 @@ namespace AutoTurnOver.Controllers ...@@ -294,6 +302,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【自动下单管理】->【自动周转列表】->【开启/停止监控】操作",3)]
public JsonResult BatchMonitorStatus(string ids, int monitor_status) public JsonResult BatchMonitorStatus(string ids, int monitor_status)
{ {
var user = AutoUtility.GetUser(); var user = AutoUtility.GetUser();
...@@ -318,6 +327,7 @@ namespace AutoTurnOver.Controllers ...@@ -318,6 +327,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【备货天数配置】->【搜索】页面", 0)]
public JsonResult StockFbaList(int limit, int offset, string order, string sort, string bailun_sku, string platform_sku, string warehousecode, string warehousetype, int? warehousearea) public JsonResult StockFbaList(int limit, int offset, string order, string sort, string bailun_sku, string platform_sku, string warehousecode, string warehousetype, int? warehousearea)
{ {
var m = new Condition_ConfigPromotion var m = new Condition_ConfigPromotion
...@@ -341,6 +351,7 @@ namespace AutoTurnOver.Controllers ...@@ -341,6 +351,7 @@ namespace AutoTurnOver.Controllers
} }
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【fba欧洲共享仓配置缺失】->【搜索】页面", 0)]
public JsonResult StockFbaLoseList(int limit, int offset, string order, string sort, string platform_sku) public JsonResult StockFbaLoseList(int limit, int offset, string order, string sort, string platform_sku)
{ {
var m = new Condition_ConfigPromotion var m = new Condition_ConfigPromotion
...@@ -365,6 +376,7 @@ namespace AutoTurnOver.Controllers ...@@ -365,6 +376,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【fba欧洲共享仓配置缺失】->【新增】->【保存】操作", 1)]
public JsonResult SaveStockFba([FromBody]dc_base_stock_config_fba m) public JsonResult SaveStockFba([FromBody]dc_base_stock_config_fba m)
{ {
try try
...@@ -395,6 +407,7 @@ namespace AutoTurnOver.Controllers ...@@ -395,6 +407,7 @@ namespace AutoTurnOver.Controllers
} }
[HttpGet] [HttpGet]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【自动下单管理】->【自动周转列表】->【开启/停止侵权】操作", 3)]
public JsonResult BatchTortStatus(string ids, int tort_status) public JsonResult BatchTortStatus(string ids, int tort_status)
{ {
var user = AutoUtility.GetUser(); var user = AutoUtility.GetUser();
...@@ -420,6 +433,7 @@ namespace AutoTurnOver.Controllers ...@@ -420,6 +433,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【销量配置】->【搜索】页面", 0)]
public JsonResult SalesConfigList(int limit, int offset, string order, string sort, string platform_type, string web_site, DateTime? start_date, DateTime? end_date) public JsonResult SalesConfigList(int limit, int offset, string order, string sort, string platform_type, string web_site, DateTime? start_date, DateTime? end_date)
{ {
var m = new dc_auto_sales_config_search_dto var m = new dc_auto_sales_config_search_dto
...@@ -447,6 +461,7 @@ namespace AutoTurnOver.Controllers ...@@ -447,6 +461,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【销量配置】->【新增规则】->【保存】操作", 1)]
public JsonResult SaveSalesConfig([FromBody]dc_auto_sales_config m) public JsonResult SaveSalesConfig([FromBody]dc_auto_sales_config m)
{ {
var result = new Services.ConfigServices().SaveSalesConfig(m, ""); var result = new Services.ConfigServices().SaveSalesConfig(m, "");
...@@ -473,6 +488,7 @@ namespace AutoTurnOver.Controllers ...@@ -473,6 +488,7 @@ namespace AutoTurnOver.Controllers
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【动态备货范围】->【搜索】页面", 0)]
public JsonResult StockUpRangeList(int limit, int offset, string order, string sort, string bailun_sku, string platform_sku, string warehousecode, string warehousetype, int? warehousearea) public JsonResult StockUpRangeList(int limit, int offset, string order, string sort, string bailun_sku, string platform_sku, string warehousecode, string warehousetype, int? warehousearea)
{ {
var m = new Condition_ConfigPromotion var m = new Condition_ConfigPromotion
...@@ -497,6 +513,7 @@ namespace AutoTurnOver.Controllers ...@@ -497,6 +513,7 @@ namespace AutoTurnOver.Controllers
[HttpPost] [HttpPost]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【动态备货范围】->【新增规则】->【保存】操作", 1)]
public JsonResult SaveStockUpRange([FromBody]dc_auto_stock_up_range m) public JsonResult SaveStockUpRange([FromBody]dc_auto_stock_up_range m)
{ {
try try
...@@ -525,6 +542,7 @@ namespace AutoTurnOver.Controllers ...@@ -525,6 +542,7 @@ namespace AutoTurnOver.Controllers
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【动态备货规则组】->【搜索】页面", 0)]
public JsonResult JitTagGroupList(int limit, int offset, string order, string sort, string bailun_sku) public JsonResult JitTagGroupList(int limit, int offset, string order, string sort, string bailun_sku)
{ {
var m = new Condition_ConfigPromotion var m = new Condition_ConfigPromotion
...@@ -545,6 +563,7 @@ namespace AutoTurnOver.Controllers ...@@ -545,6 +563,7 @@ namespace AutoTurnOver.Controllers
[HttpPost] [HttpPost]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【动态备货规则组】->【新增】->【保存】操作", 1)]
public JsonResult SaveJitTagGroup([FromBody]dc_auto_jit_tag_group m) public JsonResult SaveJitTagGroup([FromBody]dc_auto_jit_tag_group m)
{ {
try try
...@@ -578,6 +597,7 @@ namespace AutoTurnOver.Controllers ...@@ -578,6 +597,7 @@ namespace AutoTurnOver.Controllers
/// <param name="data"></param> /// <param name="data"></param>
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【自动下单管理】->【自动周转列表】->【保存动态配货配置】操作", 3)]
public JsonResult BatchStockUp([FromBody]batch_stock_up_input_dto data) public JsonResult BatchStockUp([FromBody]batch_stock_up_input_dto data)
{ {
try try
...@@ -596,6 +616,7 @@ namespace AutoTurnOver.Controllers ...@@ -596,6 +616,7 @@ namespace AutoTurnOver.Controllers
#region 预测销量 人工 #region 预测销量 人工
[HttpGet] [HttpGet]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【首单销量预测配置】->【搜索】页面", 0)]
public JsonResult ForecastSalesConfigList(int limit, int offset, string order, string sort, string bailun_sku) public JsonResult ForecastSalesConfigList(int limit, int offset, string order, string sort, string bailun_sku)
{ {
var m = new Condition_ConfigPromotion var m = new Condition_ConfigPromotion
...@@ -615,6 +636,7 @@ namespace AutoTurnOver.Controllers ...@@ -615,6 +636,7 @@ namespace AutoTurnOver.Controllers
} }
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【首单销量预测配置】->【新增规则】->【保存】操作", 1)]
public JsonResult SaveForecastSalesConfig([FromBody]dc_config_forecast_sales m) public JsonResult SaveForecastSalesConfig([FromBody]dc_config_forecast_sales m)
{ {
try try
...@@ -641,6 +663,7 @@ namespace AutoTurnOver.Controllers ...@@ -641,6 +663,7 @@ namespace AutoTurnOver.Controllers
/// <param name="fileName"></param> /// <param name="fileName"></param>
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【首单销量预测配置】->【导入】操作", 1)]
public async Task<ActionResult<RequestResultDto>> ForecastSalesImport(IFormFile file) public async Task<ActionResult<RequestResultDto>> ForecastSalesImport(IFormFile file)
{ {
try try
...@@ -674,6 +697,7 @@ namespace AutoTurnOver.Controllers ...@@ -674,6 +697,7 @@ namespace AutoTurnOver.Controllers
#region 暴增配置 #region 暴增配置
[HttpGet] [HttpGet]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【异常突增】->【搜索】页面", 0)]
public JsonResult UprushConfigList(int limit, int offset, string order, string sort, string warehousecode, string warehousetype, int? warehousearea) public JsonResult UprushConfigList(int limit, int offset, string order, string sort, string warehousecode, string warehousetype, int? warehousearea)
{ {
var m = new dc_auto_uprush_config_search_dto var m = new dc_auto_uprush_config_search_dto
...@@ -695,6 +719,7 @@ namespace AutoTurnOver.Controllers ...@@ -695,6 +719,7 @@ namespace AutoTurnOver.Controllers
} }
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【异常突增】->【新增规则】->【保存】操作", 1)]
public JsonResult SaveUprushConfig([FromBody]dc_auto_uprush_config m) public JsonResult SaveUprushConfig([FromBody]dc_auto_uprush_config m)
{ {
try try
...@@ -724,6 +749,7 @@ namespace AutoTurnOver.Controllers ...@@ -724,6 +749,7 @@ namespace AutoTurnOver.Controllers
/// <param name="monitor_status"></param> /// <param name="monitor_status"></param>
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【自动下单管理】->【自动周转列表】->【停止(恢复)回货自动标记】操作", 3)]
public JsonResult BatchReturnGoodsStatus(string ids, int monitor_status) public JsonResult BatchReturnGoodsStatus(string ids, int monitor_status)
{ {
var user = AutoUtility.GetUser(); var user = AutoUtility.GetUser();
...@@ -735,6 +761,7 @@ namespace AutoTurnOver.Controllers ...@@ -735,6 +761,7 @@ namespace AutoTurnOver.Controllers
#region 销量预测模型配置 #region 销量预测模型配置
[HttpGet] [HttpGet]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【销量预测配置】->【搜索】页面", 0)]
public JsonResult SalesForecastConfigList(int limit, int offset, string order, string sort, string warehousecode, string warehousetype, int? warehousearea, string bailun_sku) public JsonResult SalesForecastConfigList(int limit, int offset, string order, string sort, string warehousecode, string warehousetype, int? warehousearea, string bailun_sku)
{ {
var m = new dc_auto_sales_forecast_config_search_dto var m = new dc_auto_sales_forecast_config_search_dto
...@@ -760,6 +787,7 @@ namespace AutoTurnOver.Controllers ...@@ -760,6 +787,7 @@ namespace AutoTurnOver.Controllers
[NoLogin] [NoLogin]
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【销量预测配置】->【新增规则】->【保存】操作", 1)]
public JsonResult SaveSalesForecastConfig([FromBody]dc_auto_sales_forecast_config_dto m) public JsonResult SaveSalesForecastConfig([FromBody]dc_auto_sales_forecast_config_dto m)
{ {
try try
...@@ -807,6 +835,7 @@ namespace AutoTurnOver.Controllers ...@@ -807,6 +835,7 @@ namespace AutoTurnOver.Controllers
[HttpGet] [HttpGet]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【现金流】->【支付周期配置】->【搜索】页面", 0)]
public JsonResult CashFlowList(int limit, int offset, string order, string sort, string data_type) public JsonResult CashFlowList(int limit, int offset, string order, string sort, string data_type)
{ {
var m = new dc_report_cash_flow_config_search_dto var m = new dc_report_cash_flow_config_search_dto
...@@ -826,6 +855,7 @@ namespace AutoTurnOver.Controllers ...@@ -826,6 +855,7 @@ namespace AutoTurnOver.Controllers
} }
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【现金流】->【支付周期配置】->【新增】->【保存】操作",1)]
public JsonResult SaveCashFlow([FromBody]dc_report_cash_flow_config m) public JsonResult SaveCashFlow([FromBody]dc_report_cash_flow_config m)
{ {
var result = new Services.ConfigServices().SaveCashFlow(m, ""); var result = new Services.ConfigServices().SaveCashFlow(m, "");
...@@ -847,6 +877,7 @@ namespace AutoTurnOver.Controllers ...@@ -847,6 +877,7 @@ namespace AutoTurnOver.Controllers
[HttpGet] [HttpGet]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【现金流】->【物流商账期配置】->【搜索】页面", 0)]
public JsonResult LogisticsCompanyConfigPage(int limit, int offset, string order, string sort, string company_code) public JsonResult LogisticsCompanyConfigPage(int limit, int offset, string order, string sort, string company_code)
{ {
var m = new dc_report_logistics_company_config_search_dto var m = new dc_report_logistics_company_config_search_dto
...@@ -866,6 +897,7 @@ namespace AutoTurnOver.Controllers ...@@ -866,6 +897,7 @@ namespace AutoTurnOver.Controllers
} }
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【现金流】->【物流商账期配置】->【新增】->【保存】操作",1)]
public JsonResult SaveLogisticsCompanyConfig([FromBody]dc_report_logistics_company_config m) public JsonResult SaveLogisticsCompanyConfig([FromBody]dc_report_logistics_company_config m)
{ {
var result = new Services.ConfigServices().SaveLogisticsCompanyConfig(m); var result = new Services.ConfigServices().SaveLogisticsCompanyConfig(m);
......
...@@ -61,6 +61,7 @@ namespace AutoTurnOver.Controllers ...@@ -61,6 +61,7 @@ namespace AutoTurnOver.Controllers
/// <param name="limit"></param> /// <param name="limit"></param>
/// <returns></returns> /// <returns></returns>
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【实时数据】->【实时库存】->【搜索】页面", 0)]
public JsonResult RealtimeList(int? monitor_status, int? searchType, string key_words, string warehousecode, string buyer_name, string supplier_name, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea, int? has_tort = null, string categoryIds = null, public JsonResult RealtimeList(int? monitor_status, int? searchType, string key_words, string warehousecode, string buyer_name, string supplier_name, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea, int? has_tort = null, string categoryIds = null,
DateTime? start_date = null, DateTime? end_date = null, DateTime? f_start_date = null, DateTime? f_end_date = null, int? product_type = null) DateTime? start_date = null, DateTime? end_date = null, DateTime? f_start_date = null, DateTime? f_end_date = null, int? product_type = null)
{ {
...@@ -108,6 +109,7 @@ namespace AutoTurnOver.Controllers ...@@ -108,6 +109,7 @@ namespace AutoTurnOver.Controllers
/// <param name="limit"></param> /// <param name="limit"></param>
/// <param name="total"></param> /// <param name="total"></param>
/// <returns></returns> /// <returns></returns>
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【实时数据】->【修改在线数量日志】->【搜索】页面", 0)]
public JsonResult ShortagePushList(string platform, string bailun_sku, int offset, int limit, DateTime? end_date, DateTime? start_date, string warehousecode, string warehousetype, int? warehousearea) public JsonResult ShortagePushList(string platform, string bailun_sku, int offset, int limit, DateTime? end_date, DateTime? start_date, string warehousecode, string warehousetype, int? warehousearea)
{ {
try try
...@@ -201,6 +203,7 @@ namespace AutoTurnOver.Controllers ...@@ -201,6 +203,7 @@ namespace AutoTurnOver.Controllers
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【实时数据】->【库存监控】->【搜索】页面", 0)]
public JsonResult StockMonitorList(int? type, string bailun_sku, int offset, int limit, string order, string sort, public JsonResult StockMonitorList(int? type, string bailun_sku, int offset, int limit, string order, string sort,
DateTime? end_date, DateTime? start_date) DateTime? end_date, DateTime? start_date)
{ {
...@@ -267,7 +270,7 @@ namespace AutoTurnOver.Controllers ...@@ -267,7 +270,7 @@ namespace AutoTurnOver.Controllers
}); });
} }
} }
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【实时数据】->【刊登监控】->【搜索】页面", 0)]
public JsonResult GetShowField(string warehouse_code) public JsonResult GetShowField(string warehouse_code)
{ {
try try
......
...@@ -6,6 +6,7 @@ using System.Linq; ...@@ -6,6 +6,7 @@ using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using AutoTurnOver.Common; using AutoTurnOver.Common;
using AutoTurnOver.Models; using AutoTurnOver.Models;
using AutoTurnOver.Utility;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
...@@ -17,6 +18,7 @@ namespace AutoTurnOver.Controllers ...@@ -17,6 +18,7 @@ namespace AutoTurnOver.Controllers
{ {
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【自动下单管理】->【非jit异常提醒】->【搜索】页面",0)]
public JsonResult List(int limit, int offset, string order, string sort, string sku, string character, string warehousecode, string warehousetype, int? warehousearea, public JsonResult List(int limit, int offset, string order, string sort, string sku, string character, string warehousecode, string warehousetype, int? warehousearea,
bool? has_overdue = null, bool? has_confirm = null, bool? has_solve = null,int? err_type = null) bool? has_overdue = null, bool? has_confirm = null, bool? has_solve = null,int? err_type = null)
{ {
......
...@@ -6,6 +6,7 @@ using System.Linq; ...@@ -6,6 +6,7 @@ using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using AutoTurnOver.Common; using AutoTurnOver.Common;
using AutoTurnOver.Models.Report; using AutoTurnOver.Models.Report;
using AutoTurnOver.Utility;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
...@@ -19,6 +20,7 @@ namespace AutoTurnOver.Controllers ...@@ -19,6 +20,7 @@ namespace AutoTurnOver.Controllers
[HttpGet] [HttpGet]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【现金流】->【预测现金流任务】->【搜索】页面", 0)]
public JsonResult Page(int limit, int offset, string order, string sort, string bailun_sku) public JsonResult Page(int limit, int offset, string order, string sort, string bailun_sku)
{ {
var m = new dc_report_cash_flow_forecast_task_search_dto var m = new dc_report_cash_flow_forecast_task_search_dto
...@@ -38,6 +40,7 @@ namespace AutoTurnOver.Controllers ...@@ -38,6 +40,7 @@ namespace AutoTurnOver.Controllers
} }
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【现金流】->【预测现金流任务】->【新增(修改)】->【保存】操作", 1)]
public JsonResult Save([FromBody]dc_report_cash_flow_forecast_task_input_dto m) public JsonResult Save([FromBody]dc_report_cash_flow_forecast_task_input_dto m)
{ {
try try
......
...@@ -3,6 +3,7 @@ using System.Collections.Generic; ...@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using AutoTurnOver.Models; using AutoTurnOver.Models;
using AutoTurnOver.Utility;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
...@@ -16,6 +17,7 @@ namespace AutoTurnOver.Controllers ...@@ -16,6 +17,7 @@ namespace AutoTurnOver.Controllers
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【动态备货规则】->【搜索】页面", 0)]
public JsonResult JitTagList(int limit, int offset, string order, string sort,int? group_id = null) public JsonResult JitTagList(int limit, int offset, string order, string sort,int? group_id = null)
{ {
var total = 0; var total = 0;
...@@ -30,6 +32,7 @@ namespace AutoTurnOver.Controllers ...@@ -30,6 +32,7 @@ namespace AutoTurnOver.Controllers
} }
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【日志】->【jit规则日志】->【搜索】页面", 0)]
public JsonResult JitTagLogList(int limit, int offset, string order, string sort,string bailun_sku,DateTime? b_date,DateTime? e_date,int? tag_id = null) public JsonResult JitTagLogList(int limit, int offset, string order, string sort,string bailun_sku,DateTime? b_date,DateTime? e_date,int? tag_id = null)
{ {
var total = 0; var total = 0;
...@@ -58,6 +61,7 @@ namespace AutoTurnOver.Controllers ...@@ -58,6 +61,7 @@ namespace AutoTurnOver.Controllers
[HttpPost] [HttpPost]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【动态备货规则】->【新增】->【保存】操作", 1)]
public JsonResult SaveJitTag([FromBody]dc_auto_jit_tag m) public JsonResult SaveJitTag([FromBody]dc_auto_jit_tag m)
{ {
var result = new Services.JitTagServices().SaveJitTag(m, ""); var result = new Services.JitTagServices().SaveJitTag(m, "");
......
...@@ -3,6 +3,7 @@ using System.Collections.Generic; ...@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using AutoTurnOver.Models; using AutoTurnOver.Models;
using AutoTurnOver.Utility;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
...@@ -17,6 +18,7 @@ namespace AutoTurnOver.Controllers ...@@ -17,6 +18,7 @@ namespace AutoTurnOver.Controllers
public class NotStockController : Controller public class NotStockController : Controller
{ {
[HttpGet] [HttpGet]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【无库仓】->【无库仓sku】->【搜索】页面", 0)]
public JsonResult List(int limit, int offset, string order, string sort, decimal? goods_sales_max, decimal? goods_sales_min, public JsonResult List(int limit, int offset, string order, string sort, decimal? goods_sales_max, decimal? goods_sales_min,
int? source_type, int? success_states,int search_type,string key_words,DateTime? push_time_max, DateTime? push_time_min) int? source_type, int? success_states,int search_type,string key_words,DateTime? push_time_max, DateTime? push_time_min)
{ {
...@@ -48,6 +50,7 @@ namespace AutoTurnOver.Controllers ...@@ -48,6 +50,7 @@ namespace AutoTurnOver.Controllers
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【无库仓】->【无库仓sku】->【淘汰】操作",2)]
public JsonResult Eliminate([FromBody]EliminateRequestDto data) public JsonResult Eliminate([FromBody]EliminateRequestDto data)
{ {
try try
...@@ -70,6 +73,7 @@ namespace AutoTurnOver.Controllers ...@@ -70,6 +73,7 @@ namespace AutoTurnOver.Controllers
} }
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【无库仓】->【无库仓sku】->【转仓】操作",3)]
public JsonResult TransferWarehouse([FromBody]EliminateRequestDto data) public JsonResult TransferWarehouse([FromBody]EliminateRequestDto data)
{ {
try try
......
...@@ -106,6 +106,7 @@ namespace AutoTurnOver.Controllers ...@@ -106,6 +106,7 @@ namespace AutoTurnOver.Controllers
/// <param name="start_date"></param> /// <param name="start_date"></param>
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【自动下单管理】->【采购建议列表】->【搜索】页面", 0)]
public JsonResult DetailListSumFooter(int limit, int offset, int main_id, string sort, string sku, string warehousecode, public JsonResult DetailListSumFooter(int limit, int offset, int main_id, string sort, string sku, string warehousecode,
DateTime? end_date, DateTime? start_date, string warehousetype, int? warehousearea, DateTime? end_date, DateTime? start_date, string warehousetype, int? warehousearea,
bool? ispush = null, int? type = null, string supplier_name = null, string purchase_user = null, string product_inner_code = null, bool is_multiple_warehouse = false, bool? ispush = null, int? type = null, string supplier_name = null, string purchase_user = null, string product_inner_code = null, bool is_multiple_warehouse = false,
...@@ -242,6 +243,7 @@ namespace AutoTurnOver.Controllers ...@@ -242,6 +243,7 @@ namespace AutoTurnOver.Controllers
/// </summary> /// </summary>
/// <param name="id"></param> /// <param name="id"></param>
/// <returns></returns> /// <returns></returns>
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【自动下单管理】->【采购建议列表】->【保存】操作", 1)]
public JsonResult SetQuantityActual(int id, int quantity_actual) public JsonResult SetQuantityActual(int id, int quantity_actual)
{ {
try try
...@@ -268,6 +270,7 @@ namespace AutoTurnOver.Controllers ...@@ -268,6 +270,7 @@ namespace AutoTurnOver.Controllers
/// <param name="id"></param> /// <param name="id"></param>
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【自动下单管理】->【采购建议列表】->【批量保存】操作", 1)]
public JsonResult BatchSetQuantityActual([FromBody] BatchSetQuantityActualInputDataDto data) public JsonResult BatchSetQuantityActual([FromBody] BatchSetQuantityActualInputDataDto data)
{ {
try try
...@@ -293,6 +296,7 @@ namespace AutoTurnOver.Controllers ...@@ -293,6 +296,7 @@ namespace AutoTurnOver.Controllers
/// </summary> /// </summary>
/// <param name="id"></param> /// <param name="id"></param>
/// <returns></returns> /// <returns></returns>
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【自动下单管理】->【采购建议列表】->【推送采购系统】页面", 0)]
public JsonResult PushBuySys(int limit, int offset, int main_id, string sort, string sku, string warehousecode, public JsonResult PushBuySys(int limit, int offset, int main_id, string sort, string sku, string warehousecode,
DateTime? end_date, DateTime? start_date, string warehousetype, int? warehousearea, string order, DateTime? end_date, DateTime? start_date, string warehousetype, int? warehousearea, string order,
bool? ispush = null, int? type = null, string supplier_name = null, string purchase_user = null, string product_inner_code = null, bool? is_multiple_warehouse = false, bool? ispush = null, int? type = null, string supplier_name = null, string purchase_user = null, string product_inner_code = null, bool? is_multiple_warehouse = false,
...@@ -371,6 +375,7 @@ namespace AutoTurnOver.Controllers ...@@ -371,6 +375,7 @@ namespace AutoTurnOver.Controllers
/// </summary> /// </summary>
/// <param name="id"></param> /// <param name="id"></param>
/// <returns></returns> /// <returns></returns>
[BrowseLog("Bailun_aims", "触发【百伦自动下单系统】->【自动下单管理】->【采购建议列表】->【删除采购建议】操作",2)]
public JsonResult Del(int id) public JsonResult Del(int id)
{ {
try try
......
...@@ -113,6 +113,7 @@ namespace AutoTurnOver.Controllers ...@@ -113,6 +113,7 @@ namespace AutoTurnOver.Controllers
/// <param name="limit"></param> /// <param name="limit"></param>
/// <returns></returns> /// <returns></returns>
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【实时数据】->【jit实时缺货】->【搜索】页面", 0)]
public JsonResult QuantityOutStockList(string bailun_sku, string warehousecode, string product_inner_code, string purchase_user, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea) public JsonResult QuantityOutStockList(string bailun_sku, string warehousecode, string product_inner_code, string purchase_user, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea)
{ {
var m = new quantity_out_stock_search_dto var m = new quantity_out_stock_search_dto
...@@ -225,6 +226,7 @@ namespace AutoTurnOver.Controllers ...@@ -225,6 +226,7 @@ namespace AutoTurnOver.Controllers
/// <param name="limit"></param> /// <param name="limit"></param>
/// <returns></returns> /// <returns></returns>
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【实时数据】->【实时缺货明细】->【搜索】页面", 0)]
public JsonResult QuantityOutStockDetailList(DateTime? pay_time_min,DateTime? pay_time_max,string platform_type,string shiplogistics_code, int? bailun_account_id, int? search_type, string warehousecode, string key_words, string purchase_user, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea) public JsonResult QuantityOutStockDetailList(DateTime? pay_time_min,DateTime? pay_time_max,string platform_type,string shiplogistics_code, int? bailun_account_id, int? search_type, string warehousecode, string key_words, string purchase_user, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea)
{ {
var m = new quantity_out_stock_detail_search_dto var m = new quantity_out_stock_detail_search_dto
...@@ -276,8 +278,7 @@ namespace AutoTurnOver.Controllers ...@@ -276,8 +278,7 @@ namespace AutoTurnOver.Controllers
return new JsonResult(list == null || list.Count <= 0 ? new quantity_out_stock_detail_dto() : list[0]); return new JsonResult(list == null || list.Count <= 0 ? new quantity_out_stock_detail_dto() : list[0]);
} }
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【实时数据】->【实时缺货明细】->【导出】操作", 1)]
public FileResult QuantityOutStockDetailExport(DateTime? pay_time_min, DateTime? pay_time_max, string platform_type, string shiplogistics_code, int? bailun_account_id, int? search_type, string warehousecode, string key_words, string purchase_user, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea) public FileResult QuantityOutStockDetailExport(DateTime? pay_time_min, DateTime? pay_time_max, string platform_type, string shiplogistics_code, int? bailun_account_id, int? search_type, string warehousecode, string key_words, string purchase_user, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea)
{ {
var m = new quantity_out_stock_detail_search_dto var m = new quantity_out_stock_detail_search_dto
...@@ -378,6 +379,7 @@ namespace AutoTurnOver.Controllers ...@@ -378,6 +379,7 @@ namespace AutoTurnOver.Controllers
/// <param name="warehousetype"></param> /// <param name="warehousetype"></param>
/// <param name="warehousearea"></param> /// <param name="warehousearea"></param>
/// <returns></returns> /// <returns></returns>
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【缺货改零】->【搜索】页面", 0)]
public JsonResult OutStockList(int? search_type, string warehousecode, string key_words, string purchase_user, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea) public JsonResult OutStockList(int? search_type, string warehousecode, string key_words, string purchase_user, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea)
{ {
var m = new out_stock_search_dto var m = new out_stock_search_dto
...@@ -474,6 +476,7 @@ namespace AutoTurnOver.Controllers ...@@ -474,6 +476,7 @@ namespace AutoTurnOver.Controllers
/// <param name="warehousetype"></param> /// <param name="warehousetype"></param>
/// <param name="warehousearea"></param> /// <param name="warehousearea"></param>
/// <returns></returns> /// <returns></returns>
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【实时数据】->【回货速改】->【搜索】页面", 0)]
public JsonResult ReturnSpeedChangeList(bool? has_available_stock, int? search_type, string warehousecode, string key_words, string purchase_user, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea) public JsonResult ReturnSpeedChangeList(bool? has_available_stock, int? search_type, string warehousecode, string key_words, string purchase_user, int offset, int limit, string order, string sort, string warehousetype, int? warehousearea)
{ {
var m = new return_speed_change_search_dto var m = new return_speed_change_search_dto
...@@ -569,6 +572,7 @@ namespace AutoTurnOver.Controllers ...@@ -569,6 +572,7 @@ namespace AutoTurnOver.Controllers
/// <param name="warehousetype"></param> /// <param name="warehousetype"></param>
/// <param name="warehousearea"></param> /// <param name="warehousearea"></param>
/// <returns></returns> /// <returns></returns>
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【回货速改】->【标记回货】操作", 3)]
public JsonResult MarkReturnSpeedChange(bool? has_available_stock, int? search_type, string warehousecode, string key_words, string purchase_user, string warehousetype, int? warehousearea) public JsonResult MarkReturnSpeedChange(bool? has_available_stock, int? search_type, string warehousecode, string key_words, string purchase_user, string warehousetype, int? warehousearea)
{ {
var m = new return_speed_change_search_dto var m = new return_speed_change_search_dto
...@@ -597,6 +601,7 @@ namespace AutoTurnOver.Controllers ...@@ -597,6 +601,7 @@ namespace AutoTurnOver.Controllers
/// 批量出信 /// 批量出信
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【实时数据】->【实时缺货明细】->【批量出信】操作", 1)]
public FileResult BatchSendMessage(string bailun_order_ids,string content,string subject,string remarks) public FileResult BatchSendMessage(string bailun_order_ids,string content,string subject,string remarks)
{ {
BatchSendMessageInputDto data = new BatchSendMessageInputDto { BatchSendMessageInputDto data = new BatchSendMessageInputDto {
...@@ -626,6 +631,7 @@ namespace AutoTurnOver.Controllers ...@@ -626,6 +631,7 @@ namespace AutoTurnOver.Controllers
/// <param name="platform_type"></param> /// <param name="platform_type"></param>
/// <returns></returns> /// <returns></returns>
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【报表】->【商品分类汇总】->【搜索】页面", 0)]
public JsonResult GetSkuWebsiteSales(string platform_type,string warehousetype, int? warehousearea, string warehousecode,DateTime? btime,DateTime? etime) public JsonResult GetSkuWebsiteSales(string platform_type,string warehousetype, int? warehousearea, string warehousecode,DateTime? btime,DateTime? etime)
{ {
bailun_sku_website_sales_search_dto search_data = new bailun_sku_website_sales_search_dto { bailun_sku_website_sales_search_dto search_data = new bailun_sku_website_sales_search_dto {
...@@ -658,7 +664,6 @@ namespace AutoTurnOver.Controllers ...@@ -658,7 +664,6 @@ namespace AutoTurnOver.Controllers
}, AutoUtility.GetUser()); }, AutoUtility.GetUser());
return File(memory, "text/csv", $"{user.UserAccount}商品分类数据信息.csv"); return File(memory, "text/csv", $"{user.UserAccount}商品分类数据信息.csv");
} }
public JsonResult GetSkuWebsiteSalesSumFooter(string platform_type,string warehousetype, int? warehousearea, string warehousecode, DateTime? btime, DateTime? etime) public JsonResult GetSkuWebsiteSalesSumFooter(string platform_type,string warehousetype, int? warehousearea, string warehousecode, DateTime? btime, DateTime? etime)
{ {
...@@ -679,6 +684,7 @@ namespace AutoTurnOver.Controllers ...@@ -679,6 +684,7 @@ namespace AutoTurnOver.Controllers
} }
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【报表】->【商品分类汇总】->【搜索】页面", 0)]
public JsonResult SupplierSalesList(string supplier_name, int offset, int limit, string order, string sort) public JsonResult SupplierSalesList(string supplier_name, int offset, int limit, string order, string sort)
{ {
var m = new supplier_sales_search_dto var m = new supplier_sales_search_dto
...@@ -742,7 +748,7 @@ namespace AutoTurnOver.Controllers ...@@ -742,7 +748,7 @@ namespace AutoTurnOver.Controllers
var fileData = await QiNiuCloudHelper.UploadAsync(memory, $"商品销售情况统计{user.UserName}-{DateTime.Now.ToString("yyyyMMddHHmmss")}导入结果.csv"); var fileData = await QiNiuCloudHelper.UploadAsync(memory, $"商品销售情况统计{user.UserName}-{DateTime.Now.ToString("yyyyMMddHHmmss")}导入结果.csv");
return File(memory, "text/csv", $"{user.UserAccount}商品汇总数据信息.csv"); return File(memory, "text/csv", $"{user.UserAccount}商品汇总数据信息.csv");
} }
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【报表】->【商品销售情况统计】->【搜索】页面", 0)]
public JsonResult GetGoodsSumFooter(string product_inner_code, string platform_type) public JsonResult GetGoodsSumFooter(string product_inner_code, string platform_type)
{ {
...@@ -768,6 +774,7 @@ namespace AutoTurnOver.Controllers ...@@ -768,6 +774,7 @@ namespace AutoTurnOver.Controllers
/// <param name="order"></param> /// <param name="order"></param>
/// <param name="sort"></param> /// <param name="sort"></param>
/// <returns></returns> /// <returns></returns>
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【实时数据】->【安全库存汇总】->【搜索】页面", 0)]
public JsonResult GetInventoryStock(string warehousetype, int offset, int limit, string order, string sort,int? warehousearea,string warehouse_code) public JsonResult GetInventoryStock(string warehousetype, int offset, int limit, string order, string sort,int? warehousearea,string warehouse_code)
{ {
try try
......
...@@ -29,6 +29,7 @@ namespace AutoTurnOver.Controllers ...@@ -29,6 +29,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【自动下单管理】->【自动周转列表】->【搜索】页面",0)]
public JsonResult List(int limit, int offset, string order, string sort, int? searchType, string key_words, string buyer_name, int? IsRedundant, int? IsStockOut, string warehousecode,string supplier_name, string warehousetype, int? warehousearea, bool? hasDefectConfig, bool? hasAadvise = null, string categoryIds = null, int? monitor_status = null, int? returngoodspush_state = null,int? has_tort = null) public JsonResult List(int limit, int offset, string order, string sort, int? searchType, string key_words, string buyer_name, int? IsRedundant, int? IsStockOut, string warehousecode,string supplier_name, string warehousetype, int? warehousearea, bool? hasDefectConfig, bool? hasAadvise = null, string categoryIds = null, int? monitor_status = null, int? returngoodspush_state = null,int? has_tort = null)
{ {
try try
...@@ -163,6 +164,7 @@ namespace AutoTurnOver.Controllers ...@@ -163,6 +164,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【特殊销售规则】->【搜索】页面",0)]
public JsonResult ListSaleSetting(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null) public JsonResult ListSaleSetting(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null)
{ {
var m = new Condition_ConfigPromotion var m = new Condition_ConfigPromotion
...@@ -201,6 +203,7 @@ namespace AutoTurnOver.Controllers ...@@ -201,6 +203,7 @@ namespace AutoTurnOver.Controllers
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[BrowseLog("Bailun_aims","触发【百伦自动周转系统】->【配置】->【特殊销售规则】->【新增规则】->【保存】操作",1)]
public JsonResult SaveSaleSetting(int id, string sku, string warehousecode, DateTime time, int count, string note, string username) public JsonResult SaveSaleSetting(int id, string sku, string warehousecode, DateTime time, int count, string note, string username)
{ {
var m = new Models.dc_auto_config_promotion var m = new Models.dc_auto_config_promotion
...@@ -323,6 +326,7 @@ namespace AutoTurnOver.Controllers ...@@ -323,6 +326,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "访问【百伦自动周转系统】->【配置】->【市场因素配置】->【搜索】页面", 0)]
public JsonResult ListCorrection(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null) public JsonResult ListCorrection(int limit, int offset, string order, string sort, string sku, string warehousecode, string warehousetype, int? warehousearea, bool? IsEffective = null)
{ {
var m = new Condition_ConfigPromotion var m = new Condition_ConfigPromotion
...@@ -361,6 +365,7 @@ namespace AutoTurnOver.Controllers ...@@ -361,6 +365,7 @@ namespace AutoTurnOver.Controllers
/// <returns></returns> /// <returns></returns>
[HttpGet] [HttpGet]
[UseAction] [UseAction]
[BrowseLog("Bailun_aims", "触发【百伦自动周转系统】->【配置】->【市场因素配置】->【新增规则】->【保存】操作", 1)]
public JsonResult SaveCorrection(int id, string sku, string warehousecode, DateTime btime, DateTime etime, decimal param, string note, string username) public JsonResult SaveCorrection(int id, string sku, string warehousecode, DateTime btime, DateTime etime, decimal param, string note, string username)
{ {
var m = new Models.dc_auto_config_correction var m = new Models.dc_auto_config_correction
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<_IsPortable>true</_IsPortable> <_IsPortable>true</_IsPortable>
<publishUrl>C:\WebSite\SkuAutoTurn</publishUrl> <publishUrl>C:\WebSite\SkuAutoTurn</publishUrl>
<DeleteExistingFiles>False</DeleteExistingFiles> <DeleteExistingFiles>False</DeleteExistingFiles>
<publishUrl>F:\dataCenter_fu</publishUrl> <publishUrl>E:\aims-fu</publishUrl>
<DeleteExistingFiles>True</DeleteExistingFiles> <DeleteExistingFiles>True</DeleteExistingFiles>
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <RuntimeIdentifier>win-x64</RuntimeIdentifier>
</PropertyGroup> </PropertyGroup>
......
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DeleteExistingFiles>False</DeleteExistingFiles>
<ExcludeApp_Data>False</ExcludeApp_Data>
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<PublishProvider>FileSystem</PublishProvider>
<PublishUrl>E:\aims-text</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
</PropertyGroup>
</Project>
\ No newline at end of file
...@@ -43,5 +43,9 @@ ...@@ -43,5 +43,9 @@
"Saas_GetMenus": "http://sso.bailuntec.com/GetMenus", "Saas_GetMenus": "http://sso.bailuntec.com/GetMenus",
"ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine", "ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine",
"PostPlatCategoryRate": "http://test.profit.bailuntec.com/api/platfee/ProfitPlatfee/PostPlatCategoryRate", "PostPlatCategoryRate": "http://test.profit.bailuntec.com/api/platfee/ProfitPlatfee/PostPlatCategoryRate",
"api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory" "api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
...@@ -43,5 +43,9 @@ ...@@ -43,5 +43,9 @@
"Saas_GetMenus": "http://sso.bailuntec.com/GetMenus", "Saas_GetMenus": "http://sso.bailuntec.com/GetMenus",
"ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine", "ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine",
"PostPlatCategoryRate": "http://172.31.255.11/api/platfee/ProfitPlatfee/PostPlatCategoryRate", "PostPlatCategoryRate": "http://172.31.255.11/api/platfee/ProfitPlatfee/PostPlatCategoryRate",
"api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory" "api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
...@@ -43,5 +43,9 @@ ...@@ -43,5 +43,9 @@
"Saas_GetMenus": "http://sso.bailuntec.com/GetMenus", "Saas_GetMenus": "http://sso.bailuntec.com/GetMenus",
"ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine", "ApiLogisticsGetFilterLogisticsAssignLine": "http://lms.bailuntec.com/api/Logistics/ApiLogistics/GetFilterLogisticsAssignLine",
"PostPlatCategoryRate": "http://test.profit.bailuntec.com/api/platfee/ProfitPlatfee/PostPlatCategoryRate", "PostPlatCategoryRate": "http://test.profit.bailuntec.com/api/platfee/ProfitPlatfee/PostPlatCategoryRate",
"api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory" "api_plat_category": "http://doc.bailuntec.com:6040/profitplatfee/getplatcategory",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
...@@ -12,5 +12,9 @@ ...@@ -12,5 +12,9 @@
"WipStockUrl": "http://mjzz.bailuntec.com/api/FullStockPageList", "WipStockUrl": "http://mjzz.bailuntec.com/api/FullStockPageList",
"Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics", "Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics",
"PPSSkuStatus": "http://pps.bailuntec.com/Api/Centre/Publish/External/SkuStatus", "PPSSkuStatus": "http://pps.bailuntec.com/Api/Centre/Publish/External/SkuStatus",
"transfer_cost_real": "http://api.wms.bailuntec.com/api/services/app/OrderLogisticCostService/GetOrderLogisticCostPageList" "transfer_cost_real": "http://api.wms.bailuntec.com/api/services/app/OrderLogisticCostService/GetOrderLogisticCostPageList",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
...@@ -13,5 +13,9 @@ ...@@ -13,5 +13,9 @@
"WipStockUrl": "http://mjzz.bailuntec.com/api/FullStockPageList", "WipStockUrl": "http://mjzz.bailuntec.com/api/FullStockPageList",
"Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics", "Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics",
"PPSSkuStatus": "http://pps.bailuntec.com/Api/Centre/Publish/External/SkuStatus", "PPSSkuStatus": "http://pps.bailuntec.com/Api/Centre/Publish/External/SkuStatus",
"transfer_cost_real": "http://api.wms.bailuntec.com/api/services/app/OrderLogisticCostService/GetOrderLogisticCostPageList" "transfer_cost_real": "http://api.wms.bailuntec.com/api/services/app/OrderLogisticCostService/GetOrderLogisticCostPageList",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
...@@ -12,5 +12,9 @@ ...@@ -12,5 +12,9 @@
"WipStockUrl": "http://mjzz.bailuntec.com/api/FullStockPageList", "WipStockUrl": "http://mjzz.bailuntec.com/api/FullStockPageList",
"Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics", "Lms_GetLogistics": "http://lms.bailuntec.com/api/DataInfo/ApiLogistics/GetLogistics",
"PPSSkuStatus": "http://pps.bailuntec.com/Api/Centre/Publish/External/SkuStatus", "PPSSkuStatus": "http://pps.bailuntec.com/Api/Centre/Publish/External/SkuStatus",
"transfer_cost_real": "http://api.wms.bailuntec.com/api/services/app/OrderLogisticCostService/GetOrderLogisticCostPageList" "transfer_cost_real": "http://api.wms.bailuntec.com/api/services/app/OrderLogisticCostService/GetOrderLogisticCostPageList",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
\ No newline at end of file
...@@ -11,5 +11,9 @@ ...@@ -11,5 +11,9 @@
"Port": "6379", "Port": "6379",
"Password": "SpaceHorse1", "Password": "SpaceHorse1",
"Defaultdatabase": "0" "Defaultdatabase": "0"
},
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
} }
} }
...@@ -11,5 +11,9 @@ ...@@ -11,5 +11,9 @@
}, },
"PPS_ShortagePush": "http://bltpro.bailuntec.com/api/EbayTask/PushSkuEditQtyTask", "PPS_ShortagePush": "http://bltpro.bailuntec.com/api/EbayTask/PushSkuEditQtyTask",
"PPS_ShortagePush2": "http://pps.bailuntec.com/Api/AutoOperation/skutask/pushskueditqtytask", "PPS_ShortagePush2": "http://pps.bailuntec.com/Api/AutoOperation/skutask/pushskueditqtytask",
"PPS_Return_GoodsPush": "" "PPS_Return_GoodsPush": "",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
...@@ -4,5 +4,9 @@ ...@@ -4,5 +4,9 @@
}, },
"PPS_ShortagePush": "http://10.0.6.8:8002/api/EbayTask/PushSkuEditQtyTask", "PPS_ShortagePush": "http://10.0.6.8:8002/api/EbayTask/PushSkuEditQtyTask",
"PPS_ShortagePush2": "http://10.0.0.27:5051/skutask/pushskueditqtytask", "PPS_ShortagePush2": "http://10.0.0.27:5051/skutask/pushskueditqtytask",
"PPS_Return_GoodsPush": "" "PPS_Return_GoodsPush": "",
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment