<?php
/**
 *  ╔═══════════════════════════════════════════════════╗
 *  ║                                                   ║
 *  ║     ██╗  ██╗   █████╗    ██████╗                  ║
 *  ║     ██║  ██║  ██╔══██╗  ██╔═══██╗                 ║
 *  ║     ███████║  ███████║  ██║   ██║                 ║
 *  ║     ██╔══██║  ██╔══██║  ██║   ██║                 ║
 *  ║     ██║  ██║  ██║  ██║  ╚██████╔╝   SNS           ║
 *  ║                                                   ║    
 *  ║                                                   ║    
 *  ║     © 2023 HaoSNS™ All Rights Reserved            ║
 *  ║     官方网站: https://www.haosns.com                *
 *  ║     本代码由赣州乐易网络科技有限公司®提供             *
 *  ║                                                    *
 *  ║   未经授权禁止复制、传播或用于其他商业目的            *
 *  ║                                                   ║
 *  ╚═══════════════════════════════════════════════════╝
 */

namespace app\api\controller;
use app\api\{
    logic\ShareLogic,
    validate\ShareValidate
};

/**
 * 分享控制器
 * Class ShareController
 * @package app\api\controller
 */
class Share extends BaseShopController
{

    /**
     * @notes 获取分享海报
     */
    public function getSharePoster(){

    }
    
    /**
     * @notes 小程序码
     * @return \think\response\Json
     */
    public function getMnpQrCode()
    {

        // $params = (new ShareValidate())->goCheck('goods');
        // $res = (new ShareLogic())->getMnpQrCode($this->userId,$params);
        // if(true === $res){
        //     return $this->success('获取成功',['qr_code'=>ShareLogic::getReturnData()]);
        // }
        // return $this->fail(ShareLogic::getReturnData());

    }
}