Commit 9ed40da2 by lepdou

update

parent 9f2ea7d6
......@@ -89,7 +89,7 @@ public class AppService {
App managedApp = appRepository.findByAppId(appId);
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 {
App createdApp = appRepository.save(app);
namespaceService.createDefaultAppNamespace(appId);
......
......@@ -42,7 +42,7 @@
<label class="col-sm-2 control-label"><apollorequiredfiled></apollorequiredfiled> 应用名称</label>
<div class="col-sm-5">
<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 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