();
- //查询筛选
-
- //序列 int
- var id = Request.Form["id"].FirstOrDefault().ObjectToInt(0);
- if (id > 0)
- {
- where = where.And(p => p.id == id);
- }
- //核销门店id int
- var storeId = Request.Form["storeId"].FirstOrDefault().ObjectToInt(0);
- if (storeId > 0)
- {
- where = where.And(p => p.storeId == storeId);
- }
- //核验人 int
- var verificationUserId = Request.Form["verificationUserId"].FirstOrDefault().ObjectToInt(0);
- if (verificationUserId > 0)
- {
- where = where.And(p => p.verificationUserId == verificationUserId);
- }
- //服务券序列 int
- var ticketId = Request.Form["ticketId"].FirstOrDefault().ObjectToInt(0);
- if (ticketId > 0)
- {
- where = where.And(p => p.ticketId == ticketId);
- }
- //核验码 nvarchar
- var ticketRedeemCode = Request.Form["ticketRedeemCode"].FirstOrDefault();
- if (!string.IsNullOrEmpty(ticketRedeemCode))
- {
- where = where.And(p => p.ticketRedeemCode.Contains(ticketRedeemCode));
- }
- //核验时间 datetime
- var verificationTime = Request.Form["verificationTime"].FirstOrDefault();
- if (!string.IsNullOrEmpty(verificationTime))
- {
- var dt = verificationTime.ObjectToDate();
- where = where.And(p => p.verificationTime > dt);
- }
- //获取数据
- //创建Excel文件的对象
- var book = new HSSFWorkbook();
- //添加一个sheet
- var mySheet = book.CreateSheet("Sheet1");
- //获取list数据
- var listModel = await _CoreCmsUserServicesTicketVerificationLogServices.QueryListByClauseAsync(where, p => p.id, OrderByType.Asc);
- //给sheet1添加第一行的头部标题
- var headerRow = mySheet.CreateRow(0);
- var headerStyle = ExcelHelper.GetHeaderStyle(book);
-
- var cell0 = headerRow.CreateCell(0);
- cell0.SetCellValue("序列");
- cell0.CellStyle = headerStyle;
- mySheet.SetColumnWidth(0, 10 * 256);
-
- var cell1 = headerRow.CreateCell(1);
- cell1.SetCellValue("核销门店id");
- cell1.CellStyle = headerStyle;
- mySheet.SetColumnWidth(1, 10 * 256);
-
- var cell2 = headerRow.CreateCell(2);
- cell2.SetCellValue("核验人");
- cell2.CellStyle = headerStyle;
- mySheet.SetColumnWidth(2, 10 * 256);
-
- var cell3 = headerRow.CreateCell(3);
- cell3.SetCellValue("服务券序列");
- cell3.CellStyle = headerStyle;
- mySheet.SetColumnWidth(3, 10 * 256);
-
- var cell4 = headerRow.CreateCell(4);
- cell4.SetCellValue("核验码");
- cell4.CellStyle = headerStyle;
- mySheet.SetColumnWidth(4, 10 * 256);
-
- var cell5 = headerRow.CreateCell(5);
- cell5.SetCellValue("核验时间");
- cell5.CellStyle = headerStyle;
- mySheet.SetColumnWidth(5, 10 * 256);
-
-
- headerRow.Height = 30 * 20;
- var commonCellStyle = ExcelHelper.GetCommonStyle(book);
-
- //将数据逐步写入sheet1各个行
- for (var i = 0; i < listModel.Count; i++)
- {
- var rowTemp = mySheet.CreateRow(i + 1);
-
-
- var rowTemp0 = rowTemp.CreateCell(0);
- rowTemp0.SetCellValue(listModel[i].id.ToString());
- rowTemp0.CellStyle = commonCellStyle;
-
-
-
- var rowTemp1 = rowTemp.CreateCell(1);
- rowTemp1.SetCellValue(listModel[i].storeId.ToString());
- rowTemp1.CellStyle = commonCellStyle;
-
-
-
- var rowTemp2 = rowTemp.CreateCell(2);
- rowTemp2.SetCellValue(listModel[i].verificationUserId.ToString());
- rowTemp2.CellStyle = commonCellStyle;
-
-
-
- var rowTemp3 = rowTemp.CreateCell(3);
- rowTemp3.SetCellValue(listModel[i].ticketId.ToString());
- rowTemp3.CellStyle = commonCellStyle;
-
-
-
- var rowTemp4 = rowTemp.CreateCell(4);
- rowTemp4.SetCellValue(listModel[i].ticketRedeemCode.ToString());
- rowTemp4.CellStyle = commonCellStyle;
-
-
-
- var rowTemp5 = rowTemp.CreateCell(5);
- rowTemp5.SetCellValue(listModel[i].verificationTime.ToString());
- rowTemp5.CellStyle = commonCellStyle;
-
-
- }
- // 写入到excel
- string webRootPath = _webHostEnvironment.WebRootPath;
- string tpath = "/files/" + DateTime.Now.ToString("yyyy-MM-dd") + "/";
- string fileName = DateTime.Now.ToString("yyyyMMddHHmmssfff") + "-CoreCmsUserServicesTicketVerificationLog导出(查询结果).xls";
- string filePath = webRootPath + tpath;
- DirectoryInfo di = new DirectoryInfo(filePath);
- if (!di.Exists)
- {
- di.Create();
- }
- FileStream fileHssf = new FileStream(filePath + fileName, FileMode.Create);
- book.Write(fileHssf);
- fileHssf.Close();
-
- jm.code = 0;
- jm.msg = GlobalConstVars.ExcelExportSuccess;
- jm.data = tpath + fileName;
-
- return jm;
- }
- #endregion
-
-
-
- }
-}
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/good/goods/details.html b/CoreCms.Net.Web.Admin/wwwroot/views/good/goods/details.html
new file mode 100644
index 0000000..78f6903
--- /dev/null
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/good/goods/details.html
@@ -0,0 +1,744 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/good/goods/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/good/goods/index.html
index d5df5a8..2074320 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/good/goods/index.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/good/goods/index.html
@@ -118,6 +118,11 @@
, element = layui.element
, view = layui.view;
+ //监听行双击事件
+ table.on('rowDouble(LAY-app-CoreCmsGoods-tableBox)', function (obj) {
+ //查看详情
+ doDetails(obj);
+ });
//重载form
@@ -255,13 +260,14 @@
}
});
});
- //监听行双击事件
- //table.on('rowDouble(LAY-app-CoreCmsGoods-tableBox)', function (obj) {
- //});
+
+
//监听工具条
table.on('tool(LAY-app-CoreCmsGoods-tableBox)',
function (obj) {
- if (obj.event === 'del') {
+ if (obj.event === 'detail') {
+ doDetails(obj);
+ } else if (obj.event === 'del') {
doDelete(obj);
} else if (obj.event === 'edit') {
doEdit(obj)
@@ -421,6 +427,32 @@
}
});
}
+
+ //执行预览操作
+ function doDetails(obj) {
+ console.log(obj);
+ coreHelper.Post("Api/CoreCmsGoods/GetDetails", { id: obj.data.id }, function (e) {
+ if (e.code === 0) {
+ admin.popup({
+ shadeClose: false,
+ title: '查看详情',
+ area: ['95%', '95%'],
+ id: 'LAY-popup-CoreCmsGoods-details',
+ success: function (layero, index) {
+ view(this.id).render('good/goods/details', { data: e.data }).done(function () {
+ form.render();
+ });
+ // 禁止弹窗出现滚动条
+ //$(layero).children('.layui-layer-content').css('overflow', 'visible');
+ }
+ });
+ } else {
+ layer.msg(e.msg);
+ }
+ });
+ }
+
+
//删除商品
function delGoods(delidsStr) {
layer.confirm('确定删除吗?删除后将无法恢复。',
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/order/orders/details.html b/CoreCms.Net.Web.Admin/wwwroot/views/order/orders/details.html
index 4884161..ae1135e 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/order/orders/details.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/order/orders/details.html
@@ -183,6 +183,26 @@
{{d.params.data.memo||'无'}}
+
+
+
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/create.html b/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/create.html
index 6e232bd..6418646 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/create.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/create.html
@@ -1,73 +1,80 @@
\ No newline at end of file
+
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/details.html b/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/details.html
index efa7e0e..d20b313 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/details.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/details.html
@@ -1,107 +1,273 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+
+
+
+
+
+
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/edit.html b/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/edit.html
index 1b63e86..a4dcd9a 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/edit.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/edit.html
@@ -1,101 +1,115 @@
\ No newline at end of file
+
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/index.html
index 4c9b860..832c72f 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/index.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/order/servicesOrder/index.html
@@ -10,65 +10,68 @@
-
+
+
+
-
-
+
@@ -128,23 +126,6 @@
, util = layui.util
, view = layui.view;
- laydate.render({
- elem: '#searchTime-CoreCmsUserServicesOrder-payTime',
- type: 'datetime',
- range: '到',
- });
- laydate.render({
- elem: '#searchTime-CoreCmsUserServicesOrder-createTime',
- type: 'datetime',
- range: '到',
- });
- laydate.render({
- elem: '#searchTime-CoreCmsUserServicesOrder-servicesEndTime',
- type: 'datetime',
- range: '到',
- });
- //重载form
- form.render();
var searchwhere;
//监听搜索
form.on('submit(LAY-app-CoreCmsUserServicesOrder-search)',
@@ -160,6 +141,8 @@
url: layui.setter.apiUrl + 'Api/CoreCmsUserServicesOrder/GetPageList',
method: 'POST',
toolbar: '#LAY-app-CoreCmsUserServicesOrder-toolbar',
+ pagebar: '#LAY-app-CoreCmsUserServicesOrder-pagebar',
+ className: 'pagebarbox',
defaultToolbar: ['filter', 'print', 'exports'],
height: 'full-127',//面包屑142px,搜索框4行172,3行137,2行102,1行67
page: true,
@@ -169,16 +152,30 @@
cols: [
[
{ type: "checkbox", fixed: "left" },
- { field: 'serviceOrderId', title: '服务订单编号', sort: false, width: 105 },
- { field: 'userId', title: '关联用户', sort: false, width: 105 },
- { field: 'servicesId', title: '关联服务', sort: false, width: 105 },
+ { field: 'id', title: '序列', width: 50, sort: false },
+ { field: 'serviceOrderId', title: '服务订单编号', sort: false, width: 125 },
+ {
+ field: 'userId', title: '关联用户', sort: false, width: 155, templet: function (d) {
+ return d.userId + '【' + d.userName + '】';
+ }
+ },
+ { field: 'serviceTitle', title: '关联服务', sort: false },
{ field: 'isPay', title: '是否支付', width: 95, templet: '#switch_isPay', sort: false, unresize: true },
{ field: 'payTime', title: '支付时间', width: 130, sort: false },
- { field: 'paymentId', title: '支付单号', sort: false, width: 105 },
- { field: 'status', title: '状态', sort: false, width: 105 },
+ { field: 'paymentId', title: '支付单号', sort: false, width: 125 },
+ {
+ field: 'status', title: '状态', sort: false, width: 80, templet: function (data) {
+ for (var i = 0; i < d.data.serviceOrderStatus.length; i++) {
+ if (data.status == d.data.serviceOrderStatus[i].value) {
+ return d.data.serviceOrderStatus[i].description;
+ }
+ }
+ return "";
+ }
+ },
{ field: 'createTime', title: '订单创建时间', width: 130, sort: false },
{ field: 'servicesEndTime', title: '截止服务时间', width: 130, sort: false },
- { width: 142, align: 'center', title: '操作', fixed: 'right', toolbar: '#LAY-app-CoreCmsUserServicesOrder-tableBox-bar' }
+ { width: 122, align: 'center', title: '操作', fixed: 'right', toolbar: '#LAY-app-CoreCmsUserServicesOrder-tableBox-bar' }
]
]
});
@@ -198,15 +195,9 @@
doDetails(obj);
});
//头工具栏事件
- table.on('toolbar(LAY-app-CoreCmsUserServicesOrder-tableBox)', function (obj) {
+ table.on('pagebar(LAY-app-CoreCmsUserServicesOrder-tableBox)', function (obj) {
var checkStatus = table.checkStatus(obj.config.id);
switch (obj.event) {
- case 'addData':
- doCreate();
- break;
- case 'batchDelete':
- doBatchDelete(checkStatus);
- break;
case 'selectExportExcel':
doSelectExportExcel(checkStatus);
break;
@@ -220,94 +211,11 @@
function (obj) {
if (obj.event === 'detail') {
doDetails(obj);
- } else if (obj.event === 'del') {
- doDelete(obj);
- } else if (obj.event === 'edit') {
- doEdit(obj)
- }
- });
- //执行创建操作
- function doCreate() {
- coreHelper.Post("Api/CoreCmsUserServicesOrder/GetCreate", null, function (e) {
- if (e.code === 0) {
- admin.popup({
- shadeClose: false,
- title: '创建数据',
- area: ['600px', '500px'],
- id: 'LAY-popup-CoreCmsUserServicesOrder-create',
- success: function (layero, index) {
- view(this.id).render('order/servicesOrder/create', { data: e.data }).done(function () {
- //监听提交
- form.on('submit(LAY-app-CoreCmsUserServicesOrder-createForm-submit)',
- function (data) {
- var field = data.field; //获取提交的字段
-
- field.isPay = field.isPay == 'on';
-
- if (debug) { console.log(field); } //开启调试返回数据
- //提交 Ajax 成功后,关闭当前弹层并重载表格
- coreHelper.Post("Api/CoreCmsUserServicesOrder/DoCreate", field, function (e) {
- console.log(e)
- if (e.code === 0) {
- layui.table.reloadData('LAY-app-CoreCmsUserServicesOrder-tableBox'); //重载表格
- layer.close(index); //再执行关闭
- layer.msg(e.msg);
- } else {
- layer.msg(e.msg);
- }
- });
- });
- });
- // 禁止弹窗出现滚动条
- $(layero).children('.layui-layer-content').css('overflow', 'visible');
- }
- });
- } else {
- layer.msg(e.msg);
+ } else if (obj.event === 'cancellation') {
+ doCancellation(obj);
}
});
- }
- //执行编辑操作
- function doEdit(obj) {
- coreHelper.Post("Api/CoreCmsUserServicesOrder/GetEdit", { id: obj.data.id }, function (e) {
- if (e.code === 0) {
- admin.popup({
- shadeClose: false,
- title: '编辑数据',
- area: ['600px', '500px'],
- id: 'LAY-popup-CoreCmsUserServicesOrder-edit',
- success: function (layero, index) {
- view(this.id).render('order/servicesOrder/edit', { data: e.data }).done(function () {
- //监听提交
- form.on('submit(LAY-app-CoreCmsUserServicesOrder-editForm-submit)',
- function (data) {
- var field = data.field; //获取提交的字段
-
- field.isPay = field.isPay == 'on';
- if (debug) { console.log(field); } //开启调试返回数据
- //提交 Ajax 成功后,关闭当前弹层并重载表格
- coreHelper.Post("Api/CoreCmsUserServicesOrder/DoEdit", field, function (e) {
- console.log(e)
- if (e.code === 0) {
- layui.table.reloadData('LAY-app-CoreCmsUserServicesOrder-tableBox'); //重载表格
- layer.close(index); //再执行关闭
- layer.msg(e.msg);
- } else {
- layer.msg(e.msg);
- }
- });
- });
- })
- // 禁止弹窗出现滚动条
- $(layero).children('.layui-layer-content').css('overflow', 'visible');
- }
- });
- } else {
- layer.msg(e.msg);
- }
- });
- }
//执行预览操作
function doDetails(obj) {
coreHelper.Post("Api/CoreCmsUserServicesOrder/GetDetails", { id: obj.data.id }, function (e) {
@@ -315,14 +223,14 @@
admin.popup({
shadeClose: false,
title: '查看详情',
- area: ['600px', '500px'],
+ area: ['1200px', '90%'],
id: 'LAY-popup-CoreCmsUserServicesOrder-details',
success: function (layero, index) {
view(this.id).render('order/servicesOrder/details', { data: e.data }).done(function () {
form.render();
});
// 禁止弹窗出现滚动条
- $(layero).children('.layui-layer-content').css('overflow', 'visible');
+ //$(layero).children('.layui-layer-content').css('overflow', 'visible');
}
});
} else {
@@ -330,34 +238,14 @@
}
});
}
- //执行单个删除
- function doDelete(obj) {
- coreHelper.Post("Api/CoreCmsUserServicesOrder/DoDelete", { id: obj.data.id }, function (e) {
+ //执行作废订单
+ function doCancellation(obj) {
+ coreHelper.Post("Api/CoreCmsUserServicesOrder/DoCancellation", { id: obj.data.id }, function (e) {
if (debug) { console.log(e); } //开启调试返回数据
table.reloadData('LAY-app-CoreCmsUserServicesOrder-tableBox');
layer.msg(e.msg);
});
}
- //执行批量删除
- function doBatchDelete(checkStatus) {
- var checkData = checkStatus.data;
- if (checkData.length === 0) {
- return layer.msg('请选择要删除的数据');
- }
- layer.confirm('确定删除吗?删除后将无法恢复。',
- function (index) {
- var delidsStr = [];
- layui.each(checkData,
- function (index, item) {
- delidsStr.push(item.id);
- });
- coreHelper.Post("Api/CoreCmsUserServicesOrder/DoBatchDelete", { id: delidsStr }, function (e) {
- if (debug) { console.log(e); } //开启调试返回数据
- table.reloadData('LAY-app-CoreCmsUserServicesOrder-tableBox');
- layer.msg(e.msg);
- });
- });
- }
//执行查询条件导出excel
function doQueryExportexcel() {
layer.confirm('确定根据当前的查询条件导出数据吗?',
@@ -397,6 +285,24 @@
});
});
}
+
+
+ laydate.render({
+ elem: '#searchTime-CoreCmsUserServicesOrder-payTime',
+ type: 'datetime',
+ range: '到',
+ });
+ laydate.render({
+ elem: '#searchTime-CoreCmsUserServicesOrder-createTime',
+ type: 'datetime',
+ range: '到',
+ });
+ laydate.render({
+ elem: '#searchTime-CoreCmsUserServicesOrder-servicesEndTime',
+ type: 'datetime',
+ range: '到',
+ });
+
//监听 表格复选框操作
layui.form.on('switch(switch_isPay)', function (obj) {
@@ -407,11 +313,15 @@
});
});
+
+ //重载form
+ form.render();
});
};
\ No newline at end of file
+
+
+
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/create.html b/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/create.html
deleted file mode 100644
index 116c4c5..0000000
--- a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/create.html
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
\ No newline at end of file
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/details.html b/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/details.html
deleted file mode 100644
index d18d93c..0000000
--- a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/details.html
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
\ No newline at end of file
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/edit.html b/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/edit.html
deleted file mode 100644
index 8c4eaaa..0000000
--- a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/edit.html
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
\ No newline at end of file
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/index.html
deleted file mode 100644
index 84cf5d3..0000000
--- a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticket/index.html
+++ /dev/null
@@ -1,447 +0,0 @@
-服务消费券
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/create.html b/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/create.html
deleted file mode 100644
index 8578df6..0000000
--- a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/create.html
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
\ No newline at end of file
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/details.html b/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/details.html
deleted file mode 100644
index 401e156..0000000
--- a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/details.html
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
\ No newline at end of file
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/edit.html b/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/edit.html
deleted file mode 100644
index 94d05a9..0000000
--- a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/edit.html
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
\ No newline at end of file
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/index.html
deleted file mode 100644
index 95c1c81..0000000
--- a/CoreCms.Net.Web.Admin/wwwroot/views/serviceGoods/servicesticketverificationlog/index.html
+++ /dev/null
@@ -1,362 +0,0 @@
-服务券核验日志
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/shop/store/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/shop/store/index.html
index 0730fc2..38db491 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/shop/store/index.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/shop/store/index.html
@@ -389,7 +389,7 @@
area: ['380px', '200px'],
id: 'LAY-popup-CoreCmsStore-clerkEdit',
success: function (layero, index) {
- view(this.id).render('shop/store/clerkEdit', { data: e.data }).done(function () {
+ view(this.id).render('shop/store/clerkedit', { data: e.data }).done(function () {
//监听提交
form.on('submit(LAY-app-CoreCmsStore-clerkEdit-submit)',
function (data) {
diff --git a/CoreCms.Net.Web.WebApi/Controllers/PayNotify/WeChatPayController.cs b/CoreCms.Net.Web.WebApi/Controllers/PayNotify/WeChatPayController.cs
index c8fd7ff..f3599d7 100644
--- a/CoreCms.Net.Web.WebApi/Controllers/PayNotify/WeChatPayController.cs
+++ b/CoreCms.Net.Web.WebApi/Controllers/PayNotify/WeChatPayController.cs
@@ -65,11 +65,12 @@ namespace CoreCms.Net.Web.WebApi.Controllers.PayNotify
await _redisOperationRepository.ListLeftPushAsync(RedisMessageQueueKey.WeChatPayNotice, JsonConvert.SerializeObject(notify));
return WeChatPayNotifyResult.Success;
}
+ NLogUtil.WriteAll(LogLevel.Trace, LogType.Order, "微信支付成功回调", JsonConvert.SerializeObject(notify));
return NoContent();
}
catch (Exception ex)
{
- NLogUtil.WriteAll(LogLevel.Trace, LogType.Refund, "微信支付成功回调", "统一下单支付结果通知", ex);
+ NLogUtil.WriteAll(LogLevel.Trace, LogType.Order, "微信支付成功回调", "统一下单支付结果通知", ex);
return NoContent();
}
}