json game
This commit is contained in:
@@ -35,9 +35,10 @@ routes(app);
|
||||
kafka.consume("NEW_OFFER_110022", (value) => {
|
||||
try {
|
||||
console.log("Receive NEW_OFFER_110022 message xxxx: ", value);
|
||||
//var obj = phpUnserialize(value);
|
||||
const obj = JSON.parse(value);
|
||||
//var obj = phpUnserialize(value);
|
||||
// var obj = JSON.stringify(value);
|
||||
// console.log( obj);
|
||||
console.log( obj);
|
||||
// if (obj.depend_uid !== undefined && obj.depend_uid.length > 10){
|
||||
// console.log("We need contact people that did this job: ", obj.depend_uid);
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user