Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
93 additions
and
23 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
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
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,17 @@ | ||
package band.wukong.mz.g; | ||
|
||
import org.nutz.ioc.impl.PropertiesProxy; | ||
|
||
/** | ||
* 通过js文件被ioc容器识别 | ||
* | ||
* @author wukong(wukonggg@139.com) | ||
*/ | ||
public class AppConf extends PropertiesProxy { | ||
|
||
public static final String BARCODE_IMAGE_PATH = "barcode.image.path"; | ||
public static final String BARCODE_IMAGE_WIDTH = "barcode.image.width"; | ||
public static final String BARCODE_IMAGE_HEIGHT = "barcode.image.height"; | ||
public static final String BARCODE_IMAGE_FORMAT = "barcode.image.format"; | ||
|
||
} |
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
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,4 @@ | ||
barcode.image.path=D:/Lab/ws-wukong-app/mz-g-main/lin/barcode-$name.png | ||
barcode.image.width=200 | ||
barcode.image.height=20 | ||
barcode.image.format=png |
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,9 @@ | ||
var ioc = { | ||
app_conf : { | ||
type : "band.wukong.mz.g.AppConf", | ||
//type : "org.nutz.ioc.impl.PropertiesProxy", | ||
fields : { | ||
paths : ["custom/app.properties"] | ||
} | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
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
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