owl-cli 6.104.0 → 6.106.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -427,6 +427,14 @@ var @projectCodeService = (function (pigeon) {
|
|
|
427
427
|
|
|
428
428
|
}
|
|
429
429
|
}, {})
|
|
430
|
+
|
|
431
|
+
//专门处理一下owl_modifyTime和owl_createTime
|
|
432
|
+
if(obj.owl_modifyTime){
|
|
433
|
+
obj.owl_modifyTime = new Date(obj.owl_modifyTime).toISOString();
|
|
434
|
+
}
|
|
435
|
+
if(obj.owl_createTime){
|
|
436
|
+
obj.owl_createTime = new Date(obj.owl_createTime).toISOString();
|
|
437
|
+
}
|
|
430
438
|
return obj
|
|
431
439
|
},
|
|
432
440
|
|
|
@@ -1136,12 +1144,11 @@ var @projectCodeService = (function (pigeon) {
|
|
|
1136
1144
|
if(!result.hits || !result.hits.hits){
|
|
1137
1145
|
$.log("error search:sndQuery=" + sndTxt + "------\nresponse:\n" + s );
|
|
1138
1146
|
var ret = {
|
|
1139
|
-
state:'
|
|
1147
|
+
state:'err',
|
|
1140
1148
|
list:[],
|
|
1141
1149
|
total:{value:0}
|
|
1142
1150
|
}
|
|
1143
|
-
|
|
1144
|
-
return;
|
|
1151
|
+
return ret;
|
|
1145
1152
|
}
|
|
1146
1153
|
|
|
1147
1154
|
var hits = result.hits.hits;
|