mid], ['type', '=', 2] ]; $field = 'name,app_id,app_secret,is_authenticate,token'; return $this->getOneData($where, $field); } /** * 获取微信小程序配置 * @date 2022-10-26 */ public function getMpWeixinPlatformParam() { $where = [ ['uid', '=', $this->mid], ['type', '=', 3] ]; $field = 'name,app_id,app_secret,is_authenticate,token'; return $this->getOneData($where, $field); } /** * 获取移动应用配置 * @date 2022-10-26 */ public function getAppWeixinPlatformParam() { $where = [ ['uid', '=', $this->mid], ['type', '=', 4] ]; $field = 'name,app_id,app_secret,is_authenticate'; return $this->getOneData($where, $field); } }