File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
toolkit-app/src/main/java/iot/technology/client/toolkit/app
toolkit-nbiot/src/main/java/iot/technology/client/toolkit/nb/service/node Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public static void main(String[] args) {
8484 boolean isChinese = bundle .getLocale ().equals (Locale .CHINESE );
8585 nbCmd .getCommandSpec ().usageMessage ().hidden (!isChinese );
8686
87- int exitStatus = commandLine .execute (args );
87+ int exitStatus = commandLine .execute ("nb" , "call" );
8888 if (exitStatus == ExitCodeEnum .NOTEND .getValue ()) {
8989 return ;
9090 }
Original file line number Diff line number Diff line change @@ -65,6 +65,8 @@ public String nextNode(NodeContext context) {
6565 context .setPromptData (nbSettings );
6666 return NbSettingsCodeEnum .NB_MOB_APP_CONFIG .getCode ();
6767 }
68+ List <String > nbSettings = bizService .getNbSettingsFromFile (SystemConfigConst .SYS_NB_TELECOM_PRODUCT_FILE_NAME );
69+ context .setPromptData (nbSettings );
6870 return NbSettingsCodeEnum .NB_TELECOM_APP_CONFIG .getCode ();
6971 }
7072
You can’t perform that action at this time.
0 commit comments