main
黄海 1 year ago
parent f25e76c4e6
commit 239221c2ad

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 KiB

@ -243,7 +243,6 @@ public class HuiYaModel {
public List<String> wxShowNextNine(String user_id, int id, int limit) {
String sql = "select * from t_hy_task_files where user_id=? and id<=? order by id desc limit ?";
var list = Db.find(sql, user_id, id, limit);
;
List<String> res = new ArrayList<>();
for (Record record : list) {
res.add(record.getStr("target_img_url"));
@ -593,10 +592,15 @@ public class HuiYaModel {
}
long m = (secondsToAdd + current_task_seconds) / 60;
long s = (secondsToAdd + current_task_seconds) % 60;
if (s > 0) {
res = "约" + m + "分" + s + "秒后到作品中查看。";
if (m == 0) {
res = "约" + s + "秒后到作品中查看。";
} else {
res = "约" + m + "分钟后到作品中查看。";
if (s > 0) {
res = "约" + m + "分" + s + "秒后到作品中查看。";
} else {
res = "约" + m + "分钟后到作品中查看。";
}
}
return res;
}

Loading…
Cancel
Save