...
|
...
|
@@ -101,7 +101,7 @@ exports.record = (req, res, next) => { |
|
|
|
|
|
indexModel.recordContent(uid, udid, page, limit).then((result) => {
|
|
|
|
|
|
if (result.browseRecord && result.browseRecord.length > 0) {
|
|
|
if (result && result.browseRecord && result.browseRecord.length > 0) {
|
|
|
responseData.browseRecord = result.browseRecord;
|
|
|
} else {
|
|
|
responseData.noRecord = true;
|
...
|
...
|
|