...
|
...
|
@@ -185,7 +185,7 @@ class User extends Api |
|
|
];
|
|
|
$data = json_encode($data);
|
|
|
$code_res = $this->auth->http_post($get_code_url,$data);
|
|
|
file_put_contents('wx_code_img/code_'.$this->uid.'.jpg',$code_res);
|
|
|
file_put_contents('wx_code_img/code_'.$this->uid.'_'.$goods_id.'.jpg',$code_res);
|
|
|
$code_url = config('verify.ffg_host').'/wx_code_img/code_'.$this->uid.'_'.$goods_id.'.jpg';
|
|
|
$this->success('成功', ['code_url'=>$code_url]);
|
|
|
}else{
|
...
|
...
|
|