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

合并分支 'liuzhen' 到 'master'

Liuzhen



查看合并请求 !116
... ... @@ -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);
... ...