Michael Lee
Michael Lee
Model::where() 是可以查询到数据的,但请问是什么原理? 整个框架搜索都没有发现数据库相关的有定义static function where。为什么不会报错?
Unknown Property – yii\base\UnknownPropertyException Setting unknown property: jianyan\easywechat\WechatUser::access_token 经排查原因可能如下: `Yii::$app->wechat->getUser()` ``` $config = $userInfo ? json_decode($userInfo, true) : []; self::$_user = new WechatUser($config); ``` 上面代码$config包含了字段和 WechatUser 中的public属性不一致导致
Hi there. `bootstrapValidate('.mobile', 'regex:^1\d{10}$:Mobile Err'` is not working. I have to code like this: `bootstrapValidate('.mobile', 'regex:^1[0-9]{10}$:Mobile Err'`
安装扩展后,extension_loaded('wxwork_finance_sdk')正常。 命令运行demo文件: start mypid=16287 Segmentation fault