Tagged: SMALLINT

此时数据库中 permission 的值为 2,updated_at 的值为 1545961613 0

In Yii 2, when the input data is through the URL, in order to avoid redundant update SQL, apply a filter (Intval) to the input value, which in turn leads to the analysis of the invalidation of the derived verification rule.

浏览量: 4 1. Open the URL in the browser:http://www.channel-pub-api-localhost.chinamcloud.com/weibo-oauth2/authorize-update?group_id=spider&channel_app_source_uuid=269f68bc098011e9b1c354ee75d2ebc1&user_name=华栖云1658397962&permission=4&status=1&redirect_uri=aHR0cDovL3d3dy56bXQuY29tLw%3D%3D, at this time the verification rule takes effect, as shown in Figure 1 2. The verification rules are: Permission: optional, permission, 1: synchronization; 2: release;...