Browse Source

售后管理

master
xyiege 4 years ago
parent
commit
e2ec4e360d
  1. 33
      src/main/java/cn/chjyj/szwh/controller/admin/AdminInvoiceManagementController.java

33
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;
}
}
Loading…
Cancel
Save