Commit 1bc98d84 by “Kongxiangkun”

增加积分商城相关代码

parent 526dc6ee
...@@ -75,4 +75,17 @@ public class PointTestController { ...@@ -75,4 +75,17 @@ public class PointTestController {
} }
} }
@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