奇怪的一件事 微信开发 请教
echo那行是推的推文信息,当用户首次关注的时候。
$this->wechat_positive_model->send_msg($this->data['FromUserName'],"这是主动的信息");这行是去发送第二条信息,是文本的信息。
现在是确实两条信息在关注的首次都接收到了。
但是手机收到信息反过来了,是第一条是文本,第二条是图文了。
这是为什么了啊,难道微信的服务器比我们自己的服务器快造成的吗?
我想第一条是图文,第二条是文字的,这该怎么解决呢?
注:公众号已认证。第二条信息是调的微信这个接口https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=。
回复内容:
echo那行是推的推文信息,当用户首次关注的时候。
$this->wechat_positive_model->send_msg($this->data['FromUserName'],"这是主动的信息");这行是去发送第二条信息,是文本的信息。
现在是确实两条信息在关注的首次都接收到了。
但是手机收到信息反过来了,是第一条是文本,第二条是图文了。
这是为什么了啊,难道微信的服务器比我们自己的服务器快造成的吗?
我想第一条是图文,第二条是文字的,这该怎么解决呢?
注:公众号已认证。第二条信息是调的微信这个接口https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=。
鬼知道图文消息到了微信那边会经过什么样的处理啊!你这样子发送过去肯定是无法控制顺序的

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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











session_start()iscrucialinPHPformanagingusersessions.1)Itinitiatesanewsessionifnoneexists,2)resumesanexistingsession,and3)setsasessioncookieforcontinuityacrossrequests,enablingapplicationslikeuserauthenticationandpersonalizedcontent.

MySQL functions can be used for data processing and calculation. 1. Basic usage includes string processing, date calculation and mathematical operations. 2. Advanced usage involves combining multiple functions to implement complex operations. 3. Performance optimization requires avoiding the use of functions in the WHERE clause and using GROUPBY and temporary tables.

Composer is a dependency management tool for PHP, and manages project dependencies through composer.json file. 1) parse composer.json to obtain dependency information; 2) parse dependencies to form a dependency tree; 3) download and install dependencies from Packagist to the vendor directory; 4) generate composer.lock file to lock the dependency version to ensure team consistency and project maintainability.

Methods for configuring character sets and collations in MySQL include: 1. Setting the character sets and collations at the server level: SETNAMES'utf8'; SETCHARACTERSETutf8; SETCOLLATION_CONNECTION='utf8_general_ci'; 2. Create a database that uses specific character sets and collations: CREATEDATABASEexample_dbCHARACTERSETutf8COLLATEutf8_general_ci; 3. Specify character sets and collations when creating a table: CREATETABLEexample_table(idINT

Binance C2C transactions allow users to buy and sell cryptocurrencies directly, and pay attention to the risks of counterparty, payment and price fluctuations. Choosing high-credit users and secure payment methods can reduce risks.

Renaming a database in MySQL requires indirect methods. The steps are as follows: 1. Create a new database; 2. Use mysqldump to export the old database; 3. Import the data into the new database; 4. Delete the old database.

We need Composer because it can effectively manage dependencies of PHP projects and avoid the hassle of version conflicts and manual library management. Composer declares dependencies through composer.json and uses composer.lock to ensure the version consistency, simplifying the dependency management process and improving project stability and development efficiency.

How to set the rotation effect of an element in HTML? It can be achieved using CSS and JavaScript. 1. The transform property of CSS is used for static rotation, such as rotate(45deg). 2. JavaScript can dynamically control rotation, which is implemented by changing the transform attribute.
