新增漫画购买功能

This commit is contained in:
Yutousama 2022-04-08 13:48:21 +08:00
parent 82c130a506
commit 0ad33b328d

View File

@ -36,7 +36,7 @@ public class BiliBiliManga {
} }
public static String getMission() { public static String getMission() {
return missionProduct.toString(); return missionProduct+" 兑换数量:"+missionProduct.getPayAmount();
} }
public static List<Product> getListProduct() { public static List<Product> getListProduct() {
@ -70,7 +70,7 @@ public class BiliBiliManga {
JSONObject json = new JSONObject(); JSONObject json = new JSONObject();
if (isPayMission) { if (isPayMission) {
json.put("code", 2); json.put("code", 2);
json.put("msg", "任务正在进行:" + missionProduct+" 兑换数量:"+missionProduct.getPayAmount()); json.put("msg", "任务正在进行:" +getMission());
return json; return json;
} }
int userPoint = getMyPoint(); int userPoint = getMyPoint();