...
|
...
|
@@ -150,7 +150,7 @@ class User extends Api |
|
|
*/
|
|
|
public function getWxCode(){
|
|
|
if($this->request->isGet()){
|
|
|
$goods_id = $this->request->post('goods_id');
|
|
|
$goods_id = $this->request->get('goods_id');
|
|
|
$rule = config('verify.goods_detail');
|
|
|
$validate = new Validate($rule['rule'],$rule['msg']);
|
|
|
if (!$validate->check(['goods_id'=>$goods_id])) {
|
...
|
...
|
|