update act images

master
kira 6 years ago
parent 8becd67cf0
commit 2d530b36c8

@ -3,6 +3,7 @@ package au.com.royalpay.payment.manage.customers.web;
import au.com.royalpay.payment.manage.customers.core.EncourageService;
import au.com.royalpay.payment.tools.CommonConsts;
import au.com.royalpay.payment.tools.connections.mpsupport.beans.WxOauthType;
import au.com.royalpay.payment.tools.permission.alipay.AlipayMapping;
import au.com.royalpay.payment.tools.permission.wechat.WechatMapping;
import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.*;
@ -32,7 +33,7 @@ public class EncourageMoneyController {
}
@RequestMapping(value = "/orders/{orderId}/wechat", method = RequestMethod.PUT)
@WechatMapping(value = "/orders/{orderId}/wechat", method = RequestMethod.PUT)
public JSONObject takeEncourageMoneyWeChat(@PathVariable String orderId, @ModelAttribute(CommonConsts.WECHATINFO) JSONObject wxUser) {
if (wxUser == null) {
return new JSONObject();
@ -40,7 +41,7 @@ public class EncourageMoneyController {
return encourageService.takeEncourageMoney(orderId, wxUser.getString("openid"));
}
@RequestMapping(value = "/orders/{orderId}/alipay", method = RequestMethod.PUT)
@AlipayMapping(value = "/orders/{orderId}/alipay", method = RequestMethod.PUT)
public JSONObject takeEncourageMoneyAlipay(@PathVariable String orderId, @ModelAttribute(CommonConsts.ALIUSER) JSONObject alipayInfo) {
if (alipayInfo == null) {
return new JSONObject();

Loading…
Cancel
Save