Commit b990f5fe by Li Yongyu

1、课程大纲列表-添加组件-文件需要有file_name校验了

2、添加层级取消parent_id校验
parent 5d10177a
...@@ -38,7 +38,7 @@ public class Mail { ...@@ -38,7 +38,7 @@ public class Mail {
} }
// 发件人的 邮箱 和 密码(替换为自己的邮箱和密码) // 发件人的 邮箱 和 密码(替换为自己的邮箱和密码)
public static String myEmailAccount = "53055975@qq.com"; public static String myEmailAccount = "53055975@qq.com";
public static String myEmailPassword = "mpphitfeaxcqcbdg"; public static String myEmailPassword = "qoqfoabljzyzbjdd";
// 发件人邮箱的 SMTP 服务器地址, 必须准确, 不同邮件服务器地址不同, 一般格式为: smtp.xxx.com // 发件人邮箱的 SMTP 服务器地址, 必须准确, 不同邮件服务器地址不同, 一般格式为: smtp.xxx.com
// 网易163邮箱的 SMTP 服务器地址为: smtp.163.com // 网易163邮箱的 SMTP 服务器地址为: smtp.163.com
......
...@@ -233,8 +233,9 @@ public class MapUtil { ...@@ -233,8 +233,9 @@ public class MapUtil {
int comma=strcomma.length; int comma=strcomma.length;
StringBuffer sb=new StringBuffer(); StringBuffer sb=new StringBuffer();
for(int k=0;k<comma;k++){ for(int k=0;k<comma;k++){
String str_strcomma_s=strcomma[k].split("=")[0];
String str_strcomma=strcomma[k]; String str_strcomma=strcomma[k];
if(str_strcomma.contains(Letter)){ if(str_strcomma_s.equals(Letter)){
int start=str_strcomma.indexOf('='); int start=str_strcomma.indexOf('=');
sb.append(str_strcomma.substring(start+1,str_strcomma.length())); sb.append(str_strcomma.substring(start+1,str_strcomma.length()));
return sb.toString(); return sb.toString();
......
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