|
@@ -17,7 +17,7 @@ class WechatConfig extends Base
|
|
|
public static function getEasyWechatConfig($key)
|
|
|
{
|
|
|
$where = [];
|
|
|
- $where[] = ["id|app_id|app_code", "=", $key];
|
|
|
+ $where[] = ["app_id|app_code", "=", $key];
|
|
|
$wechatConfig = self::where($where)->find();
|
|
|
if (!$wechatConfig) {
|
|
|
return false;
|