__construct() __construct( $wxappId, $user, $orderId, $orderType = \app\common\enum\OrderType::MASTER) 构造方法 Extract constructor. Parameters $wxappId $user $orderId $orderType
getImage() getImage() : mixed 获取小程序码 Throws \app\common\exception\BaseException \think\exception\DbException \Exception Returns mixed
saveQrcode() saveQrcode( $wxapp_id, $scene, null $page = null) : string 保存小程序码到文件 Parameters $wxapp_id $scene null $page Throws \app\common\exception\BaseException \think\exception\DbException Returns string
saveTempImage() saveTempImage( $wxapp_id, $url, string $mark = 'temp') : string 获取网络图片到临时目录 Parameters $wxapp_id $url string $mark Returns string