Beispiel #1
0
 public String checkname() {
   if (this.brandManager.checkname(brand.getName(), brand.getBrand_id())) {
     this.json = "{result:1}"; // 存在返回1
   } else {
     this.json = "{result:0}";
   }
   return this.JSON_MESSAGE;
 }