Commit a01456b9 by 王祖波

param

parent c41067f3
...@@ -13,9 +13,13 @@ import com.gic.haoban.manage.api.service.contact.ContactFollowApiService; ...@@ -13,9 +13,13 @@ import com.gic.haoban.manage.api.service.contact.ContactFollowApiService;
import com.gic.haoban.manage.web.qo.contact.ContactFollowPageQO; import com.gic.haoban.manage.web.qo.contact.ContactFollowPageQO;
import com.gic.haoban.manage.web.qo.contact.ContactFollowQO; import com.gic.haoban.manage.web.qo.contact.ContactFollowQO;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
/**
* 潜客雷达-跟进记录
*/
@RestController @RestController
@RequestMapping(path = "/contact") @RequestMapping(path = "/contact")
public class ContactController { public class ContactController {
...@@ -29,7 +33,7 @@ public class ContactController { ...@@ -29,7 +33,7 @@ public class ContactController {
* @return * @return
*/ */
@RequestMapping(path = "/follow") @RequestMapping(path = "/follow")
public RestResponse<Void> saveFollow(ContactFollowQO contactFollowQO) { public RestResponse<Void> saveFollow(@RequestBody ContactFollowQO contactFollowQO) {
ContactFollowQDTO followQDTO = EntityUtil.changeEntityNew(ContactFollowQDTO.class, contactFollowQO); ContactFollowQDTO followQDTO = EntityUtil.changeEntityNew(ContactFollowQDTO.class, contactFollowQO);
followQDTO.setFollowTime(DateUtil.date()); followQDTO.setFollowTime(DateUtil.date());
ServiceResponse<Void> serviceResponse = contactFollowApiService.saveFollow(followQDTO); ServiceResponse<Void> serviceResponse = contactFollowApiService.saveFollow(followQDTO);
...@@ -45,7 +49,7 @@ public class ContactController { ...@@ -45,7 +49,7 @@ public class ContactController {
* @return * @return
*/ */
@RequestMapping(path = "/page-follow") @RequestMapping(path = "/page-follow")
public RestResponse<Page<ContactFollowDTO>> pageFollow(ContactFollowPageQO contactFollowPageQO) { public RestResponse<Page<ContactFollowDTO>> pageFollow(@RequestBody ContactFollowPageQO contactFollowPageQO) {
String enterpriseId = contactFollowPageQO.getEnterpriseId(); String enterpriseId = contactFollowPageQO.getEnterpriseId();
String clerkId = contactFollowPageQO.getClerkId(); String clerkId = contactFollowPageQO.getClerkId();
String memberId = contactFollowPageQO.getMemberId(); String memberId = contactFollowPageQO.getMemberId();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment