|
@@ -57,10 +57,16 @@ class Manage
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public function showQuestion($uid, $product_id, $order_id)
|
|
|
+ public function showQuestion($uid, $product_id, $order_id, $feedback_status)
|
|
|
{
|
|
|
$link = Dever::url('api.view&uid='.$uid.'&product_id=' . $product_id . '&order_id=' . $order_id, 'survey');
|
|
|
- $html = '<a href="javascript:;" onclick="window.open(\''.$link.'\')">查看</a>';
|
|
|
+
|
|
|
+ if ($feedback_status == 1) {
|
|
|
+ $html = '';
|
|
|
+ } else {
|
|
|
+ $html = '<a href="javascript:;" onclick="window.open(\''.$link.'\')">查看</a>';
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
return $html;
|
|
|
|