Commit 526dc6ee by “Kongxiangkun”

增加积分商城相关代码

parent 9d2ecab2
......@@ -76,4 +76,16 @@ public class PointController {
}
}
@ApiOperation(value = "积分兑换", notes = "积分兑换")
@PostMapping("/read/finished")
public Response<Object> readFinished(@RequestBody JSONObject json) {
String infoId = json.getString("infoId");
RequestContext requestContext = ContextHolder.get();
if (null == requestContext) {
Response.fail();
}
Long accountId = requestContext.getAccountId();
pointApiFeignClients.readFinished(accountId, infoId);
return Response.ok();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment