Commit ee328f71 by “Kongxiangkun”

增加积分商城相关代码

parent 1ea2d4ea
......@@ -221,8 +221,8 @@ public class PointServiceImpl extends ServiceImpl<PointMapper, Point> implements
return null;
}
if(type.equals(PointTypeEnum.EXAM.getKey())){
sourceId = sourceId.split("|")[0];
int score = Integer.valueOf(sourceId.split("|")[1]) / 10;
sourceId = sourceId.split("|")[0];
PointDetails pd = new PointDetails();
pd.setAccountId(accountId);
pd.setLearnType(PointTypeEnum.EXAM.getKey());
......
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