|
|
|
|
@ -157,6 +157,9 @@ public class WxUserScriptLogController extends BaseController {
|
|
|
|
|
if (StringUtils.isBlank(wxUserScriptReq.getVideoNo())) {
|
|
|
|
|
return R.fail("请输入视频号id");
|
|
|
|
|
}
|
|
|
|
|
if(!wxUserScriptReq.getVideoNo().startsWith("sph")){
|
|
|
|
|
return R.fail("请输入以“sph”开头的视频号id,可在视频号助手获取");
|
|
|
|
|
}
|
|
|
|
|
if (StringUtils.isBlank(wxUserScriptReq.getFeedId())) {
|
|
|
|
|
return R.fail("请输入视频号feedid");
|
|
|
|
|
}
|
|
|
|
|
@ -166,6 +169,9 @@ public class WxUserScriptLogController extends BaseController {
|
|
|
|
|
if (StringUtils.isBlank(wxUserScriptReq.getVideoNo())) {
|
|
|
|
|
return R.fail("请输入视频号id");
|
|
|
|
|
}
|
|
|
|
|
if(!wxUserScriptReq.getVideoNo().startsWith("sph")){
|
|
|
|
|
return R.fail("请输入以“sph”开头的视频号id,可在视频号助手获取");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
wxUserScriptLogService.sendScript(wxUserScriptReq);
|
|
|
|
|
@ -225,6 +231,9 @@ public class WxUserScriptLogController extends BaseController {
|
|
|
|
|
if (StringUtils.isBlank(wxUserScriptReq.getVideoNo())) {
|
|
|
|
|
return R.fail("请输入视频号id");
|
|
|
|
|
}
|
|
|
|
|
if(!wxUserScriptReq.getVideoNo().startsWith("sph")){
|
|
|
|
|
return R.fail("请输入以“sph”开头的视频号id,可在视频号助手获取");
|
|
|
|
|
}
|
|
|
|
|
if (StringUtils.isBlank(wxUserScriptReq.getFeedId())) {
|
|
|
|
|
return R.fail("请输入视频号feedid");
|
|
|
|
|
}
|
|
|
|
|
@ -234,6 +243,9 @@ public class WxUserScriptLogController extends BaseController {
|
|
|
|
|
if (StringUtils.isBlank(wxUserScriptReq.getVideoNo())) {
|
|
|
|
|
return R.fail("请输入视频号id");
|
|
|
|
|
}
|
|
|
|
|
if(!wxUserScriptReq.getVideoNo().startsWith("sph")){
|
|
|
|
|
return R.fail("请输入以“sph”开头的视频号id,可在视频号助手获取");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|