瀏覽代碼

更新模板消息接口

刘忠健 2 年之前
父節點
當前提交
ed39ae0513
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/app/common/model/WechatConfig.php

+ 1 - 1
api/app/common/model/WechatConfig.php

@@ -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;