Commit 9ed40da2 authored by lepdou's avatar lepdou

update

parent 9f2ea7d6
...@@ -89,7 +89,7 @@ public class AppService { ...@@ -89,7 +89,7 @@ public class AppService {
App managedApp = appRepository.findByAppId(appId); App managedApp = appRepository.findByAppId(appId);
if (managedApp != null) { if (managedApp != null) {
throw new BadRequestException(String.format("app id %s has existed!", app.getAppId())); throw new BadRequestException(String.format("app id %s already exists!", app.getAppId()));
} else { } else {
App createdApp = appRepository.save(app); App createdApp = appRepository.save(app);
namespaceService.createDefaultAppNamespace(appId); namespaceService.createDefaultAppNamespace(appId);
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<label class="col-sm-2 control-label"><apollorequiredfiled></apollorequiredfiled> 应用名称</label> <label class="col-sm-2 control-label"><apollorequiredfiled></apollorequiredfiled> 应用名称</label>
<div class="col-sm-5"> <div class="col-sm-5">
<input type="text" class="form-control" name="appName" ng-model="app.name" required> <input type="text" class="form-control" name="appName" ng-model="app.name" required>
<small>(格式 xx-yy-zz,不能使用'+'字符 例:apollo-server)</small> <small>(建议格式 xx-yy-zz 例:apollo-server)</small>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
......
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