quguofeng 1 year ago
parent
commit
1685e810d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Index.php

+ 1 - 1
application/api/controller/Index.php

@@ -346,7 +346,7 @@ class Index extends Api
                     LikeMutually::create($like_mutually2);
                 }
                 //发送微信模板消息
-                Apply::wxUnlockMessage($uid,input('id'),Date('Y-m-d H:i:s'),'喜欢你',2);
+                Apply::wxUnlockMessage($uid,input('nid'),Date('Y-m-d H:i:s'),'喜欢你',2);
                 $this->success('已喜欢');
             }else{
                 $this->error('系统异常');