yingzi 1 year ago
parent
commit
084eb08ebd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/controller/User.php

+ 1 - 1
app/api/controller/User.php

@@ -67,7 +67,7 @@ class User extends BaseController
         $data['show_template_code'] = "";
         $data['show_template_id']   = "";
         $tmpData = (new UserShowTemplate)
-                ->field("b.*")
+                ->field("t.id,t.code,t.title")
                 ->alias("b")
                 ->join("show_template t","t.id = b.show_template_id","left")
                 ->where("b.uid",$request->user['uid'])