master
kira 6 years ago
parent 21b3c4dd74
commit 470c234209

@ -27,7 +27,7 @@ public class EncourageMoneyController {
@Resource @Resource
private EncourageService encourageService; private EncourageService encourageService;
@RequestMapping(value = "/orders/{orderId}", method = RequestMethod.GET) @RequestMapping(value = "/orders/{orderId}", method = RequestMethod.PUT)
public JSONObject takeEncourageMoney(@PathVariable String orderId,@ModelAttribute(CommonConsts.WECHATINFO) JSONObject wxUser,@ModelAttribute(CommonConsts.ALIUSER) JSONObject aliuser) { public JSONObject takeEncourageMoney(@PathVariable String orderId,@ModelAttribute(CommonConsts.WECHATINFO) JSONObject wxUser,@ModelAttribute(CommonConsts.ALIUSER) JSONObject aliuser) {
String user_id = ""; String user_id = "";
if(wxUser==null){ if(wxUser==null){

@ -31,7 +31,6 @@ $(function () {
}); });
function loadEncourage() { function loadEncourage() {
$.ajax({ $.ajax({
url: '/act/encourage_money/orders/' + window.order_id, url: '/act/encourage_money/orders/' + window.order_id,
method: 'PUT', method: 'PUT',

Loading…
Cancel
Save