| | |
| | | * 应用权限组绑定用户组 Api |
| | | * chenlei |
| | | */ |
| | | exit(json_encode(array( |
| | | "rspCode"=>"e111111111", |
| | | "rspMsg"=>"鉴权失败" |
| | | ))); |
| | | require '../framework/bootstrap.inc.php'; |
| | | require '../web/common/interface.func.php'; |
| | | |
| | |
| | | ); |
| | | include '../../web/common/interface.func.php'; |
| | | $paramter = makeInterfaceParam($post_data, "1000001"); |
| | | $result = json_decode(doCurlPostRequest($url, $paramter, 10), JSON_UNESCAPED_UNICODE); |
| | | $result = doCurlPostRequest($url, $paramter, 10); |
| | | if ($result != null && $result != "" && $result['rspCode'] == 'e00000') { |
| | | |
| | | // 新增用户组 |
| | |
| | | return curl_error($url); |
| | | } else { |
| | | curl_close($url); |
| | | return $data; |
| | | return json_decode($data,true); |
| | | } |
| | | } |
| | | |