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';
66const URL_BASE = "http://139.196.140.118:8080" ; // 基地址
77const URL_GET = URL_BASE + "/get" ; // 常规获取数据方式
88const 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数据,不显示请求内容和返回结果,一般用于对安全要求比较高的请求
1111const URL_POST = URL_BASE + "/post" ; // 新增(或者说插入)数据
1212const URL_PUT = URL_BASE + "/put" ; // 修改数据,只修改传入字段对应的值
1313const URL_DELETE = URL_BASE + "/delete" ; // 删除数据
Original file line number Diff line number Diff line change 1313 }
1414 } ;
1515
16- request ( URL_POST_GET , json ) ;
16+ request ( URL_GETS , json ) ;
1717</ script >
1818</ body >
1919</ html >
Original file line number Diff line number Diff line change 1414 }
1515 } ;
1616
17- request ( URL_POST_GET , json ) ;
17+ request ( URL_GETS , json ) ;
1818</ script >
1919</ body >
2020</ html >
You can’t perform that action at this time.
0 commit comments