sunhao 5 years ago
parent
commit
e1aeea8bd4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/Api/TemplateController.php

+ 2 - 2
app/Http/Controllers/Api/TemplateController.php

@@ -69,7 +69,7 @@ class TemplateController extends Controller {
69 69
         $saler_ids = array_keys($result);
70 70
         
71 71
         $ip = $this->getRealIp();
72
-        if($saler_id){
72
+        if($saler_id && $t_id !=17){
73 73
             //记录行为
74 74
             $log = array();
75 75
             $log['t_id'] = $t_id;
@@ -114,7 +114,7 @@ class TemplateController extends Controller {
114 114
         $t_id = $request->input('t_id');
115 115
 
116 116
         $ip = $this->getRealIp();
117
-        if($saler_id && $t_id){
117
+        if($saler_id && $t_id && $t_id !=17){
118 118
             //记录行为
119 119
             $log = array();
120 120
             $log['t_id'] = $t_id;