forked from ming-soft/MCMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request !176 from 灰色DT/4.7.1
- Loading branch information
Showing
8 changed files
with
347 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package net.mingsoft.cms.action; | ||
|
||
import java.util.MissingResourceException; | ||
|
||
/** | ||
* @Author: 铭飞开源团队--huise | ||
* @Date: 2019/8/9 20:47 | ||
*/ | ||
public class BaseAction extends net.mingsoft.mdiy.action.BaseAction{ | ||
@Override | ||
protected String getResString(String key) { | ||
// TODO Auto-generated method stub | ||
String str = ""; | ||
try { | ||
str = super.getResString(key); | ||
} catch (MissingResourceException e) { | ||
str = net.mingsoft.cms.constant.Const.RESOURCES.getString(key); | ||
} | ||
|
||
return str; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.