去除.action后缀

This commit is contained in:
liaozetao
2024-04-22 10:44:52 +08:00
parent 9674f166b7
commit 5f8660d4f4
253 changed files with 896 additions and 922 deletions

View File

@@ -208,7 +208,7 @@ export default {
ajax: function (request) { //使用ajax请求
$.ajax({
type: "GET",
url: '/admin/dress/shop/list.action',
url: '/admin/dress/shop/list',
contentType: 'application/json;charset=utf-8',
dataType: 'json',
data: request.data,
@@ -271,7 +271,7 @@ export default {
if ($("#addForm").validationEngine('validate')) {
$.ajax({
type: "post",
url: "/admin/dress/shop/saveOrUpdate.action",
url: "/admin/dress/shop/saveOrUpdate",
data: {
id: id,
dressId: dressId,
@@ -306,7 +306,7 @@ export default {
$.ajax({
type: "get",
url: "/admin/dress/shop/getById.action",
url: "/admin/dress/shop/getById",
data: { id: id },
dataType: "json",
success: function (res) {