作者 jinglong
1 个管道 的构建 通过 耗费 1 秒

修改微信二维码接口

@@ -150,7 +150,7 @@ class User extends Api @@ -150,7 +150,7 @@ class User extends Api
150 */ 150 */
151 public function getWxCode(){ 151 public function getWxCode(){
152 if($this->request->isGet()){ 152 if($this->request->isGet()){
153 - $goods_id = $this->request->post('goods_id'); 153 + $goods_id = $this->request->get('goods_id');
154 $rule = config('verify.goods_detail'); 154 $rule = config('verify.goods_detail');
155 $validate = new Validate($rule['rule'],$rule['msg']); 155 $validate = new Validate($rule['rule'],$rule['msg']);
156 if (!$validate->check(['goods_id'=>$goods_id])) { 156 if (!$validate->check(['goods_id'=>$goods_id])) {
@@ -6813,7 +6813,7 @@ @@ -6813,7 +6813,7 @@
6813 6813
6814 <div class="row mt0 footer"> 6814 <div class="row mt0 footer">
6815 <div class="col-md-6" align="left"> 6815 <div class="col-md-6" align="left">
6816 - Generated on 2019-12-05 11:05:32 </div> 6816 + Generated on 2019-12-05 11:36:39 </div>
6817 <div class="col-md-6" align="right"> 6817 <div class="col-md-6" align="right">
6818 <a href="https://www.fastadmin.net" target="_blank">FastAdmin</a> 6818 <a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
6819 </div> 6819 </div>