wang hou sheng 8 months ago
parent 463bea6903
commit a2b48e92b6
  1. 1
      app/common/library/wxserver/Server.php

@ -654,6 +654,7 @@ class Server
} else { } else {
$data = json_encode($data); $data = json_encode($data);
} }
Db::table('yoshop_wx_server')->insertGetId(['content' => $data, 'created_at' => date('Y-m-d H:i:s')]);
$result = $this->curlPost($url, $data); $result = $this->curlPost($url, $data);
$result = json_decode($result, true); $result = json_decode($result, true);
Db::table('yoshop_wx_server')->insertGetId(['content' => json_encode($result), 'created_at' => date('Y-m-d H:i:s')]); Db::table('yoshop_wx_server')->insertGetId(['content' => json_encode($result), 'created_at' => date('Y-m-d H:i:s')]);

Loading…
Cancel
Save