File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,20 @@ android use spring mvc, make your code better and clean.
11
11
12
12
13
13
dependencies {
14
- implementation 'com.github.dinghu:android-springmvc:1.0.0 '
14
+ implementation 'com.github.dinghu:android-springmvc:1.0.5 '
15
15
}
16
16
17
17
18
+ 1.AndroidManifet.xml里面配置@Dao @Controller @Service 注解的包名
18
19
19
- 继承AndroidSpringMvcApplication
20
+ < meta-data android:name = " component-scan " android:value = " xx.xx.xx.xx.service,xx.xx.xx.xx.controller,xx.xx.xx.xx.dao " />
20
21
21
- 使用 AndroidSpringMvc.inject(this)注入依赖
22
22
23
- 混淆配置
23
+ 2.继承AAndroidMvcApplication
24
+
25
+ 3.使用 AndroidSpringMvc.inject(this)注入依赖
26
+
27
+ 4.混淆配置
24
28
25
29
26
30
-keep class com.bitmain.hale.springmvc.controller.** { @com .bitmain.hale.springmvc.di.Autowired <fields >;}
You can’t perform that action at this time.
0 commit comments