Browse Source

refactor(更新) :
- 修复作业票信息丢失之后无法再次下发作业的问题

周文健 4 months ago
parent
commit
ab3f7f4570
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/main/java/com/grkj/iscs/util/NetApi.kt

+ 1 - 1
app/src/main/java/com/grkj/iscs/util/NetApi.kt

@@ -457,7 +457,7 @@ object NetApi {
             { res, msg, code ->
                 res?.let {
                     callBack.invoke(getRefBean(it), code)
-                }
+                }?:callBack.invoke(null, code)
             }, isGet = true, isAuth = true
         )
     }