1 changed files with 33 additions and 0 deletions
@ -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…
Reference in new issue