|
|
|
@@ -13,6 +13,7 @@ import com.iformall.service.WxCUserTagsService; |
|
|
|
import com.iformall.service.WxQuestionService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import net.sf.saxon.trans.Err; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
@@ -45,7 +46,11 @@ public class WxQuestionController extends BaseController { |
|
|
|
WxQuestionConfig wxQuestionConfig = new WxQuestionConfig(); |
|
|
|
wxQuestionConfig.setTenantId(getTenantId()); |
|
|
|
JSONArray ct = new JSONArray(); |
|
|
|
ct.put(Integer.valueOf(couponType)); |
|
|
|
try { |
|
|
|
ct.put(Integer.valueOf(couponType)); |
|
|
|
}catch (Exception e) { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); |
|
|
|
} |
|
|
|
wxQuestionConfig.setCouponTypeList(ct.toString()); |
|
|
|
List<WxQuestionConfig> listConfig = wxQuestionService.findConfigList(wxQuestionConfig); |
|
|
|
if (listConfig.size() > 0) { |
|
|
|
|