...
|
...
|
@@ -2,11 +2,13 @@ package com.ui.ctrl; |
|
|
|
|
|
import com.ui.http.HttpRestClient;
|
|
|
import com.ui.model.BaseResponse;
|
|
|
import com.ui.model.domain.QcloudSmsUp;
|
|
|
import com.ui.model.req.SmsUp;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
...
|
...
|
@@ -21,7 +23,9 @@ public class SmsUpctrl { |
|
|
|
|
|
@RequestMapping("/deliverMessage")
|
|
|
@ResponseBody
|
|
|
public boolean smsup(String SmsType, String SrcMobile, String AppendID, String Content, String RecvTime, String SendTime, String Status) {
|
|
|
public boolean smsup(@RequestBody QcloudSmsUp qcloudSmsUp) {
|
|
|
|
|
|
|
|
|
SmsUp smsUp = new SmsUp();
|
|
|
smsUp.setAppendID(AppendID);
|
|
|
smsUp.setSmsType(SmsType);
|
...
|
...
|
|