Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
commit
8b56b21021
|
|
@ -804,6 +804,17 @@ public class MemberService {
|
|||
flow.setRemark(remark);
|
||||
tbShopUserFlowMapper.updateByPrimaryKey(flow);
|
||||
|
||||
|
||||
|
||||
JSONObject baObj=new JSONObject();
|
||||
baObj.put("userId",user.getUserId());
|
||||
baObj.put("shopId",user.getId());
|
||||
baObj.put("amount",flow.getAmount());
|
||||
baObj.put("balance",user.getAmount());
|
||||
baObj.put("type","退款");
|
||||
baObj.put("time",new Date());
|
||||
producer.balance(baObj.toString());
|
||||
|
||||
return Result.success(CodeEnum.SUCCESS);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue