WIN-2308041133\Administrator 6 月之前
父節點
當前提交
a751f184c6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      extend/liuniu/WechatService.php

+ 2 - 2
extend/liuniu/WechatService.php

@@ -366,12 +366,12 @@ class WechatService
                     }elseif ($notify['change_type']=='DELETE'){
                         $cs=WechatPlanRecord::where('contract_code',$notify['contract_code'])->Update(['is_signing' => 1]);
                     }
-                    @file_put_contents("quanju.txt", $notify['change_type']."-签约返回状态\r\n", 8);
+                    @file_put_contents("quanju.txt", $cs."-修改记录\r\n", 8);
                     if (($count = strpos($notify['contract_code'], '_')) !== false) {
                         $notify['contract_code'] = substr($notify['contract_code'], $count + 1);
                     }
                     $params = [$cid, $notify['contract_code']];
-                    Hook::exec("\\liuniu\\repositories\\PaymentRepositories", "wechat" . ucfirst('lavesign'), $params);
+                    Hook::exec("\\liuniu\\repositories\\PaymentRepositories", "wechat" . ucfirst('lave'), $params);
                 }
                 $data = ['eventkey' => 'notify', 'command' => '', 'refreshtime' => time(), 'openid' => $notify['openid'], 'message' => json_encode($notify)];
                 $wechatContext = WechatContext::create($data, true);