...
|
...
|
@@ -336,8 +336,7 @@ class Goods extends Api |
|
|
if($this->request->isPost()){
|
|
|
$param = (new GoodsValidate())->goCheck('goods_detail');
|
|
|
$goods_id = $param['goods_id'];
|
|
|
$openid = Db::name('third')->where('id',$this->auth->id)->value('openid');
|
|
|
|
|
|
$openid = Db::name('third')->where('user_id',$this->auth->id)->value('openid');
|
|
|
$app = new Application(ConfigService::load());
|
|
|
$userService = $app->user;
|
|
|
$user = $userService->get($openid);
|
...
|
...
|
|