|
|
|
@ -22,8 +22,10 @@ public class PartnerBillController {
|
|
|
|
|
private PartnerBillService partnerBillService;
|
|
|
|
|
|
|
|
|
|
@PartnerMapping(value = "/bills", method = RequestMethod.POST)
|
|
|
|
|
public String addBill(@ModelAttribute(CommonConsts.PARTNER_STATUS) JSONObject partner, @RequestBody NewBillQrCodeBean newBillQrCodeBean) {
|
|
|
|
|
return partnerBillService.saveBill(partner, newBillQrCodeBean);
|
|
|
|
|
public JSONObject addBill(@ModelAttribute(CommonConsts.PARTNER_STATUS) JSONObject partner, @RequestBody NewBillQrCodeBean newBillQrCodeBean) {
|
|
|
|
|
JSONObject billCode = new JSONObject();
|
|
|
|
|
billCode.put("code_url", partnerBillService.saveBill(partner, newBillQrCodeBean));
|
|
|
|
|
return billCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@PartnerMapping(value = "", method = RequestMethod.GET)
|
|
|
|
|