diff --git a/src/main/java/cn/chjyj/szwh/controller/admin/AdminInvoiceManagementController.java b/src/main/java/cn/chjyj/szwh/controller/admin/AdminInvoiceManagementController.java new file mode 100644 index 0000000..d75d5e3 --- /dev/null +++ b/src/main/java/cn/chjyj/szwh/controller/admin/AdminInvoiceManagementController.java @@ -0,0 +1,33 @@ +package cn.chjyj.szwh.controller.admin; + +import cn.chjyj.szwh.controller.BaseController; +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONObject; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 售后服务 + * 发票管理 + */ +@RestController +@RequestMapping("/admin/order.InvoiceManagement") +public class AdminInvoiceManagementController extends BaseController { + + @RequestMapping("/list") + public JSONObject list(@RequestBody String rejson){ + JSONObject request = JSON.parseObject(rejson); + String invoiceNumber = request.getString("invoice_number"); + String seller = request.getString("seller"); + $buy = $this->request->post('buy'); + $batchcode = $this->request->post('batchcode'); + $status = $this->request->post('status'); + $createtime = $this->request->post('createtime'); + $page = $this->request->post('page', 1); + $limit = $this->request->post('limit', 20); + jsonObject.put("code",200); + jsonObject.put("msg","成功"); + return jsonObject; + } +}