@@ -18,7 +18,7 @@ for (let i = 0; i < count; i++) {
18
18
forecast : '@float(0, 100, 2, 2)' ,
19
19
importance : '@integer(1, 3)' ,
20
20
'type|1' : [ 'CN' , 'US' , 'JP' , 'EU' ] ,
21
- 'status|1' : [ 'published' , 'draft' , 'deleted' ] ,
21
+ 'status|1' : [ 'published' , 'draft' ] ,
22
22
display_time : '@datetime' ,
23
23
comment_disabled : true ,
24
24
pageviews : '@integer(300, 5000)' ,
@@ -29,7 +29,7 @@ for (let i = 0; i < count; i++) {
29
29
30
30
export default [
31
31
{
32
- url : '/article/list' ,
32
+ url : '/vue-element-admin/ article/list' ,
33
33
type : 'get' ,
34
34
response : config => {
35
35
const { importance, type, title, page = 1 , limit = 20 , sort } = config . query
@@ -58,7 +58,7 @@ export default [
58
58
} ,
59
59
60
60
{
61
- url : '/article/detail' ,
61
+ url : '/vue-element-admin/ article/detail' ,
62
62
type : 'get' ,
63
63
response : config => {
64
64
const { id } = config . query
@@ -74,7 +74,7 @@ export default [
74
74
} ,
75
75
76
76
{
77
- url : '/article/pv' ,
77
+ url : '/vue-element-admin/ article/pv' ,
78
78
type : 'get' ,
79
79
response : _ => {
80
80
return {
@@ -92,7 +92,7 @@ export default [
92
92
} ,
93
93
94
94
{
95
- url : '/article/create' ,
95
+ url : '/vue-element-admin/ article/create' ,
96
96
type : 'post' ,
97
97
response : _ => {
98
98
return {
@@ -103,7 +103,7 @@ export default [
103
103
} ,
104
104
105
105
{
106
- url : '/article/update' ,
106
+ url : '/vue-element-admin/ article/update' ,
107
107
type : 'post' ,
108
108
response : _ => {
109
109
return {
0 commit comments