Commit aa7e78fb authored by 赵啸非's avatar 赵啸非

修改热门词汇

parent 3b73fcce
Pipeline #2409 canceled with stages
package com.mortals.xhx.module.baseset.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.common.code.NewsSourceEnum;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -42,7 +43,7 @@ public class BasesetController extends BaseCRUDJsonBodyMappingController<Baseset
@Override
protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "newsSource", paramService.getParamBySecondOrganize("Baseset","newsSource"));
this.addDict(model, "newsSource", NewsSourceEnum.getEnumMap());
super.init(model, context);
}
......
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