Commit dd8ad89b by 徐高华

人群

parent 523999a9
......@@ -4,7 +4,6 @@ import java.util.Date;
import org.apache.commons.lang3.StringUtils;
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.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
......@@ -16,7 +15,6 @@ import com.gic.commons.webapi.reponse.RestResponse;
import com.gic.enterprise.api.service.StoreService;
import com.gic.haoban.base.api.common.pojo.dto.WebLoginDTO;
import com.gic.haoban.common.utils.AuthWebRequestUtil;
import com.gic.haoban.manage.web.qo.MemberSearchQO;
import com.gic.haoban.manage.web.vo.MemberChatVO;
import com.gic.marketing.api.service.MemberTagMarketingApiService;
import com.gic.member.api.dto.MemberDTO;
......@@ -68,7 +66,7 @@ public class MemberController {
*/
@RequestMapping("member-count")
@ResponseBody
public RestResponse<Object> getMemberCount(String searchParams, int type) {
public RestResponse<Object> getMemberCount(String searchParams, @RequestParam(defaultValue="0")int type) {
if (StringUtils.isBlank(searchParams)) {
return RestResponse.successResult(0);
}
......
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