现在想对公众号的二维码做个修改,希望能解决下面两个问题中的一个
问题1:扫码时能不能判断出来是通过微信扫描还是通过UC的扫描或者是通过其他的扫码工具扫描?如果可以,怎么判断?
问题2:如果问题1没办法解决的话,求解决这个问题
我用二维码解码器把公众号二维码解码后得到一个链接如“http://XXXXXx”
现在我想做一个页面,这个页面里面放个
<a href='http://XXXXXXx'>关注微信公众号</a>
链接,可能还有其他很多内容,然后我把这个页面生成一个二维码,想让用户通过微信扫码打开页面时,点击“关注微信公众号”的时候,跟直接扫描公众号二维码一样打开关注公众号的页面。
但是做的时候发现点击那个链接后,跳转到了谷歌市场下载微信的页面。
所以第二个问题就是想问下,能不能在一个微信扫码打开的页面里,通过点击一个链接关注公众号?
回复讨论(解决方案)
第一个问题,应该针对各种扫码工具各做一个二维码。
第二个问题,那只能修改微信或UC。
第一个问题,应该针对各种扫码工具各做一个二维码。
第二个问题,那只能修改微信或UC。
也就是说,对于同一个二维码,没办法通过程序或者其他方法判断是通过什么工具扫码的了?
第一个问题,应该针对各种扫码工具各做一个二维码。
第二个问题,那只能修改微信或UC。
也就是说,对于同一个二维码,没办法通过程序或者其他方法判断是通过什么工具扫码的了? 没办法。二维码是个图片,用眼睛看也行,用摄像机拍摄也行,扫描工具只不过在拍摄之后再进行处理。
useragent这个应该可以
关于二维码生成,请查看最新的微信公众平台文档
//带参的二维码
String eventKey_scan = requestMap.get("EventKey");
System.out.println("带参的二维码"+eventKey_scan);
这样获取的竟然是0,不知道是不是这样获取

Laravel simplifies handling temporary session data using its intuitive flash methods. This is perfect for displaying brief messages, alerts, or notifications within your application. Data persists only for the subsequent request by default: $request-

The PHP Client URL (cURL) extension is a powerful tool for developers, enabling seamless interaction with remote servers and REST APIs. By leveraging libcurl, a well-respected multi-protocol file transfer library, PHP cURL facilitates efficient execution of various network protocols, including HTTP, HTTPS, and FTP. This extension offers granular control over HTTP requests, supports multiple concurrent operations, and provides built-in security features.

This is the second and final part of the series on building a React application with a Laravel back-end. In the first part of the series, we created a RESTful API using Laravel for a basic product-listing application. In this tutorial, we will be dev

Laravel provides concise HTTP response simulation syntax, simplifying HTTP interaction testing. This approach significantly reduces code redundancy while making your test simulation more intuitive. The basic implementation provides a variety of response type shortcuts: use Illuminate\Support\Facades\Http; Http::fake([ 'google.com' => 'Hello World', 'github.com' => ['foo' => 'bar'], 'forge.laravel.com' =>

Do you want to provide real-time, instant solutions to your customers' most pressing problems? Live chat lets you have real-time conversations with customers and resolve their problems instantly. It allows you to provide faster service to your custom

In this article, we're going to explore the notification system in the Laravel web framework. The notification system in Laravel allows you to send notifications to users over different channels. Today, we'll discuss how you can send notifications ov

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

PHP logging is essential for monitoring and debugging web applications, as well as capturing critical events, errors, and runtime behavior. It provides valuable insights into system performance, helps identify issues, and supports faster troubleshoot


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version
Visual web development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.
