feat:积分管理
This commit is contained in:
1 parent
1ae623ce66
commit
d5ae9d4d9f
21 files changed
+436
-46
No files matched your search
+4
-1
@@ -1,5 +1,6 @@
|
||||
package com.bsd.pjcloud.thirdparty.dto.ad;
|
||||
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
@@ -51,7 +52,9 @@ public class UniappAdCallbackDto {
|
||||
dto.setTransId(map.get("trans_id"));
|
||||
dto.setUserId(Long.parseLong(map.get("user_id")));
|
||||
dto.setExtra(map.get("extra"));
|
||||
dto.setCpm(Integer.parseInt(map.get("cpm")));
|
||||
if (ObjectUtil.isNotEmpty(map.get("cpm"))) {
|
||||
dto.setCpm(Integer.parseInt(map.get("cpm")));
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user