加@Resource引入RoyalPayCMSSupport

master
yangkai 6 years ago
parent 2436757e1d
commit ba41845c03

@ -10,13 +10,15 @@ import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service
public class AppStyleServiceImpl implements AppStyleService {
@Value("${app.cms.host}")
private String cmsHost;
private Logger logger = LoggerFactory.getLogger(getClass());
@Resource
private RoyalPayCMSSupport royalPayCMSSupport;
@Override
public JSONObject listAppStyleGroup(int page, int limit) {

@ -3,7 +3,7 @@
<h1>APP_STYLE</h1>
<ol class="breadcrumb">
<li><a ui-sref="cms">网站管理</a></li>
<li><a ui-sref="cms.app_style">app图标</a></li>
<li><a ui-sref="^" ui-sref-opts="{reload:true}">app图标</a></li>
<li class="active" ng-bind="!ctrl.flag?'Edit Article':'New Article'"></li>
</ol>
</section>
@ -16,7 +16,7 @@
<label class="control-label" for="short-name-search">title</label>
<input type="text" class="form-control" id="short-name-search" name="style_id"
ng-model="params.style_id" required>
<div class="checkbox-inline">
<div class="checkbox-inline" ng-if="!ctrl.flag">
<label><input role="button" type="radio" ng-value="true" ng-model="entity.appStyle[0].is_valid" ng-change="toggleAppStyleIsValid(params.style_id)"> Published</label>
</div>
</div>

@ -3,7 +3,7 @@
<h1>APP_STYLE</h1>
<ol class="breadcrumb">
<li><a ui-sref="cms">网站管理</a></li>
<li><a ui-sref="cms.app_style">app图标</a></li>
<li><a ui-sref="^" ui-sref-opts="{reload:true}">app图标</a></li>
<li class="active">app图标详情</li>
</ol>
</section>

Loading…
Cancel
Save