|
@ -15,6 +15,7 @@ import org.json.JSONObject;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.data.domain.PageRequest;
|
|
|
import org.springframework.data.domain.Sort;
|
|
@ -45,6 +46,8 @@ public class AppealService extends BaseService {
|
|
|
private SMSService smsService;
|
|
|
@Autowired
|
|
|
private SMSDao smsDao;
|
|
|
@Value("${image.imgUrlDomain}")
|
|
|
private String imgUrlDomain;
|
|
|
|
|
|
/**
|
|
|
* 分页查找问题
|
|
@ -151,6 +154,7 @@ public class AppealService extends BaseService {
|
|
|
map.put("idcard", appeal.getIdcard());
|
|
|
map.put("images", images);
|
|
|
map.put("result", result);
|
|
|
map.put("imgUrlDomain", imgUrlDomain);
|
|
|
if (status == 0){
|
|
|
appealDao.modifyAppealStatus(id,1);
|
|
|
}
|
|
@ -210,6 +214,7 @@ public class AppealService extends BaseService {
|
|
|
sms.setIp("127.0.0.1");
|
|
|
sms.setType(11);
|
|
|
sms.setStatus(1);
|
|
|
sms.setCaptcha("");
|
|
|
smsDao.save(sms);
|
|
|
if (json == null) {
|
|
|
// 发送失败
|