WIN-2308041133\Administrator 2 days ago
parent
commit
f0ed324319
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/model/api/UserScoreDetail.php

+ 2 - 1
app/model/api/UserScoreDetail.php

@@ -149,7 +149,8 @@ class UserScoreDetail extends BaseModel
             $post['code']    = $code;
             $post['code']    = $code;
 //            $post['title']   = $this->config[$code]['code'];
 //            $post['title']   = $this->config[$code]['code'];
             $post['content'] = $content;
             $post['content'] = $content;
-            $post['type']    = -1;
+            $post['type']    = 0;
+            $post['title']    = $title;
             $post['time']    = time();
             $post['time']    = time();
             $post['money']   = (float)(new User)->where('uid', $uid)->value('score') - $money;
             $post['money']   = (float)(new User)->where('uid', $uid)->value('score') - $money;
             $post['o_id']    = empty($parms["o_id"])?0:$parms["o_id"];
             $post['o_id']    = empty($parms["o_id"])?0:$parms["o_id"];