Commit 397c4fda by 苗权威

0115

parent 4c433f5e
...@@ -174,9 +174,9 @@ public class XiaoDuHomeController { ...@@ -174,9 +174,9 @@ public class XiaoDuHomeController {
public void changeWelcomeWord(String pwd, String type, String word) { public void changeWelcomeWord(String pwd, String type, String word) {
if (StringUtils.startsWith(pwd, "mqw") && pwd.length() == 8) { if (StringUtils.startsWith(pwd, "mqw") && pwd.length() == 8) {
switch (type) { switch (type) {
case "adult" : WELCOME_NOVEL = word; case "adult" : WELCOME_NOVEL = word;break;
case "child" : WELCOME_SMART = word; case "child" : WELCOME_SMART = word; break;
case "all" : WELCOME_FORMAT = word; case "all" : WELCOME_FORMAT = word;break;
} }
} }
log.warn("/change/welcome/word:adult:{},child:{},all:{}", WELCOME_NOVEL, WELCOME_SMART, WELCOME_FORMAT); log.warn("/change/welcome/word:adult:{},child:{},all:{}", WELCOME_NOVEL, WELCOME_SMART, WELCOME_FORMAT);
......
...@@ -436,7 +436,7 @@ public class DplBotServiceBoth extends BaseBot { ...@@ -436,7 +436,7 @@ public class DplBotServiceBoth extends BaseBot {
log.error("小度没有传来任何话语"); log.error("小度没有传来任何话语");
return buildErrorResponse(ErrorMsg.SORRY_UNCATCH); return buildErrorResponse(ErrorMsg.SORRY_UNCATCH);
} }
// log.info("小度.用户说的话:{}",userWord); // log.info("================小度.用户说的话:{}",userWord);
String channel; String channel;
switch (type) { switch (type) {
......
...@@ -326,7 +326,6 @@ public class ScheduleServiceNew implements InitializingBean { ...@@ -326,7 +326,6 @@ public class ScheduleServiceNew implements InitializingBean {
} }
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {
String res = OkHttp3Utils.doGet("http://hw-gz19.heyqiwu.cn:18082/api/data/audio/list/jiaoyou");
System.out.println(res);
} }
} }
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