修复cashier openid bug

master
taylor.dang 6 years ago
parent 62d2f90758
commit 578bb08fe5

@ -254,7 +254,7 @@ public class RefundServiceImpl implements RefundService, ApplicationEventPublish
@Override @Override
public JSONObject auditionInfo(String auditionId, String openid) { public JSONObject auditionInfo(String auditionId, String openid) {
JSONObject account = clientManager.getAccountByOpenId("o32MzuO4s8c7iFOVxnxejkbhMoEc"); JSONObject account = clientManager.getAccountByOpenId(openid);
if (account == null || account.size() <= 0) { if (account == null || account.size() <= 0) {
throw new BadRequestException("You have no permission to audit an refund order"); throw new BadRequestException("You have no permission to audit an refund order");
} }

Loading…
Cancel
Save