| | |
| | | * @param out
|
| | | */
|
| | | @RequestMapping(value = "getLostOrderList", method = RequestMethod.POST)
|
| | | public void getLostOrderList(AcceptData acceptData, Long uid, int page, PrintWriter out) {
|
| | | public void getLostOrderList(AcceptData acceptData, Long uid, Integer page, PrintWriter out) {
|
| | | if (uid == null || uid <= 0) {
|
| | | out.print(JsonUtil.loadFalseResult(1, "用户未登录"));
|
| | | return;
|
| | | }
|
| | |
|
| | | if (page == null || page <= 0) {
|
| | | out.print(JsonUtil.loadFalseResult(1, "page格式错误"));
|
| | | return;
|
| | | }
|
| | |
|
| | |
| | | }
|
| | |
|
| | | @RequestMapping(value = "deleteLostOrder", method = RequestMethod.POST)
|
| | | public void deleteLostOrder(AcceptData acceptData, Long uid, long id, PrintWriter out) {
|
| | | public void deleteLostOrder(AcceptData acceptData, Long uid, Long id, PrintWriter out) {
|
| | |
|
| | | if (id == null || id <= 0) {
|
| | | out.print(JsonUtil.loadFalseResult(1, "请选择删除项"));
|
| | | return;
|
| | | }
|
| | |
|
| | | if (uid == null || uid <= 0) {
|
| | | out.print(JsonUtil.loadFalseResult(1, "用户未登录"));
|
| | | return;
|