小程序
小游戏
企业微信
微信支付
不支持,微信只是聊天用的
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
待楼主反馈
我也遇到这种问题
https://developers.weixin.qq.com/community/develop/doc/000ec2e888c4487136a03f7726b800?_at=1715065857711
不支持当前功能的,微信未提供使用微信内置浏览器打开某个网页的功能只能使用location.href = 'weixin://'唤起微信
企业微信的问题建议到企业微信开发者中心提问:https://developer.work.weixin.qq.com/community/question
你好,已恢复,请查实。
为啥是单层花括号
你这个没有弹窗用户隐私保护协议啊
好吧,这是哪个接口返回的
const cloud = require('wx-server-sdk') const axios = require('axios/dist/node/axios.cjs'); const request = require('request-promise'); cloud.init({ env: '**********'}) exports.main = async (event, context) => { return new Promise((resolve, reject) => { const url = 'https://***.cn/eUrbanMIS/login//validpassword' const headers = { 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'} const formData = { username: '123456', password: 'szcode2024', browserVersion: '360/69.0.3497.100', osVersion: 'Win7/32', validCode: "6u87g",//验证码 validWay: 0} request({ url: url, method: "POST", json: true, headers, //必须加 formData }).then(resp=>{ console.log(resp) }).catch(error=> { console.log(error); }) }) }) START { "resultInfo": { "success": true, "code": null, "message": null, "data": { "redirectPage": "", "isToUniPage": true, "human": { "resetPassFlag": 0, "pwdUpdateTime": "2024-05-07 14:10:08", "humanID": 101234, "humanName": "123456", "userName": "123456", "humanCode": "101234", "humanDesc": "123456", "displayOrder": 101234, "createDate": "2020-03-11 09:37:34", "validFlag": 1, "validFromDate": "2020-03-11 09:37:34", "validToDate": null, "deleteFlag": 0, "deleteDate": null, "humanPassword": "******", "unitID": 109991, "unitName": "123456", "regionID": 2, "regionName": null, "regionType": 2, "dutyID": null, "dutyName": "", "leaderLevelID": null, "genderID": 1, "birthday": null, "telOffice": "", "telHome": "", "telMobile": "", "email": "", "address": "", "postalCode": "", "portrait": null, "photoName": null, "patrolFlag": 0, "caID": "", "selfFlag": null, "createHumanID": null, "rightUpdateFlag": 12, "mainAreaFlag": 0, "taskListSettingFlag": 1, "humanType": 0, "humanStyle": "whitegreen", "loginType": 0, "isPickMedia": 1, "encType": 0, "mapType": 0, "iMEI": "6fae8698be1b678d", "sim": "0", "identityNo": null, "onlineFlag": null, "cardID": null, "unionID": null, "userTypeID": null, "jurisdictionIDs": "", "whistleAreaIDs": null, "joinTime": null, "politicalStatusID": null, "educationalBackgroundID": null, "statusIDs": null, "dressing": null, "lawCertificate": null, "workDuty": null, "icpUserName": null, "icpPassword": null, "enableCkeyFlag": 0, "onDutyFlag": 1, "createHumanName": null, "updateHumanID": null, "updateHumanName": null, "pswChange": false, "updateTime": "2023-10-23 09:04:33", "patrolCode": null, "politicalStatusName": null, "educationalBackgroundName": null, "statusNames": null, "userTypeName": null, "lastLoginTime": "2021-12-10 08:50:18" } }, "tipType": 1, "strings": null, "stackTrace": null } 前端获取打印RES {accelerateType: "none" cookies: (2) ["name=value; path=/; Secure; HttpOnly", "SESSION=001a1b74-2015-49de-8056-rds468ht130f; Path=/eUrbanMIS/; HttpOnly"] data: {resultInfo: {…}} errMsg: "request:ok" header: {Server: "openresty/1.19.3.1", Date: "Tue, 07 May 2024 08:49:26 GMT", Content-Type: "application/json;charset=UTF-8", Transfer-Encoding: "chunked", Connection: "keep-alive", …} statusCode: 200} __proto__: Object 云函数打印的只有data: {resultInfo: {…}}这一部分
暂无个人介绍
发布文章
0
回答
关注者
多端框架用户成功案例
Donut 多端框架是小程序团队推出的移动应用开发框架。开发者可以使用小程序技术与工具,高效率开发移动应用,实现一次开发多端运行。现在已有不同领域的开发者选择多端框架,实现更高的开发经营效率。
提出问题
接入使用过程中遇到的疑问
发表文章
开发、运营、产品设计相关实战经验及案例分享
不支持,微信只是聊天用的