Browse Source

添加问题类型下拉

tags/v1.1.0
qiujinyang 2 years ago
parent
commit
fe370cf854
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/DspServiceImpl.java

+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/DspServiceImpl.java View File

@@ -43,7 +43,7 @@ public class DspServiceImpl implements IDspService {
@Override
public JSONArray getQuestionType() {
String url = dspDomainUrl + "api/web/serviceInst/2/questionTypeList";
String result = HttpUtils.doSend(url, new JSONObject(), null,"GET");
String result = HttpUtils.sendGet(url, "");
JSONObject jsonObject = JSONObject.parseObject(result);
JSONArray jsonArray=(JSONArray)jsonObject.get("data");
if(jsonObject.getIntValue("code") == 0){

Loading…
Cancel
Save