File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ const TAG_REQUEST_UTIL = 'RequestUtil';
6
6
const URL_BASE = "http://139.196.140.118:8080" ; // 基地址
7
7
const URL_GET = URL_BASE + "/get" ; // 常规获取数据方式
8
8
const URL_HEAD = URL_BASE + "/head" ; // 检查,默认是非空检查,返回数据总数
9
- const URL_POST_GET = URL_BASE + "/post_get " ; // 通过POST来GET数据,不显示请求内容和返回结果,一般用于对安全要求比较高的请求
10
- const URL_POST_HEAD = URL_BASE + "/post_head " ; // 通过POST来HEAD数据,不显示请求内容和返回结果,一般用于对安全要求比较高的请求
9
+ const URL_GETS = URL_BASE + "/gets " ; // 通过POST来GET数据,不显示请求内容和返回结果,一般用于对安全要求比较高的请求
10
+ const URL_HEADS = URL_BASE + "/heads " ; // 通过POST来HEAD数据,不显示请求内容和返回结果,一般用于对安全要求比较高的请求
11
11
const URL_POST = URL_BASE + "/post" ; // 新增(或者说插入)数据
12
12
const URL_PUT = URL_BASE + "/put" ; // 修改数据,只修改传入字段对应的值
13
13
const URL_DELETE = URL_BASE + "/delete" ; // 删除数据
Original file line number Diff line number Diff line change 13
13
}
14
14
} ;
15
15
16
- request ( URL_POST_GET , json ) ;
16
+ request ( URL_GETS , json ) ;
17
17
</ script >
18
18
</ body >
19
19
</ html >
Original file line number Diff line number Diff line change 14
14
}
15
15
} ;
16
16
17
- request ( URL_POST_GET , json ) ;
17
+ request ( URL_GETS , json ) ;
18
18
</ script >
19
19
</ body >
20
20
</ html >
You can’t perform that action at this time.
0 commit comments