...
|
...
|
@@ -9,9 +9,9 @@ const api = require('./suggestFeedBack-api'); |
|
|
const helpers = global.yoho.helpers;
|
|
|
const _ = require('lodash');
|
|
|
|
|
|
const suggestFeedBack = () => {
|
|
|
const suggestFeedBack = (uid) => {
|
|
|
|
|
|
return api.feedBackApi().then((result) => {
|
|
|
return api.feedBackApi(uid).then((result) => {
|
|
|
let suggestData = [];
|
|
|
|
|
|
if (result && result.code === 200 && _.get(result, 'data.rows')) {
|
...
|
...
|
|