很急啊各位,官方快来看一看
第三方快速创建的小程序,添加IT类目一直失败,主体营业执照上写的有软硬件开发的,为什么?APPID:wxdc9c1ac8f2eab706 我通过 api.weixin.qq.com/cgi-bin/wxopen/getallcategories 获取了可设置的类目,里面涵盖了: { "id": 210, "name": "IT科技", "level": 1, "father": 0, "children": [ 211, 213, 413, 1029, 1071, 1073, 1079, 1121 ], "sensitive_type": 0, "type_list": [], "qualify": { "exter_list": [], "remark": "" }, "is_hidden": false, "available_api_list": [], "type": "NORMAL", "apis": [], "available_for_plugin": true } 再通过添加类目接口: [图片] 返回一直是53302,我已经试过了210下所有children 一直不能设置,是为什么? 第三方创建的小程序查看已设置的类目一直是空白的,我想添加但是怎么都是错 而且就算我想添加丽人里面的瘦身也是失败,丽人所有id都失败,我有点懵了
2020-05-22对不起,我是鸹貔。
代小程序 fastregisterweapp创建小程序时 为什么明明格式正确却一直47001?$url = 'https://api.weixin.qq.com/cgi-bin/component/fastregisterweapp?action=create&component_access_token='.$token; $postData['name'] = (string)$data['companyName']; $postData['code'] = (string)$data['companyCode']; $postData['code_type'] = intval($data['companyCodeType']); $postData['legal_persona_wechat'] = (string)$data['legalPersonaWechat']; $postData['legal_persona_name'] = (string)$data['legalPersonaName']; $postData['component_phone'] = (string)$data['componentPhone']; $res = _postJsonRequest($url,$data); function _postJsonRequest($url, $data) { $ch = curl_init(); if (!$data) { $data = []; } $data = json_encode($data, JSON_UNESCAPED_UNICODE); $header = []; $header[] = "Content-Type: application/json"; curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_HTTPHEADER, $header); curl_setopt($ch, CURLOPT_POST, 1); // 设置请求为post类型 curl_setopt($ch, CURLOPT_POSTFIELDS, $data); // 添加post数据到请求中 $output = curl_exec($ch);//执行并获取HTML文档内容 $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch);//释放curl句柄 if ($http_code == 200) { return $output; } else { return false; } } 一直提示: [图片] 一直在47001,我打印出来也是符合要求的,有点费解这个问题。 code的位数我确认无误
2020-05-15