ippv1

1.0.0 • Public • Published

ipp___location_http_api

IppLocationHttpApi - JavaScript client for ipp___location_http_api The Location IPP HTTP API. This is a Data-Driven/CRUD project document This SDK is automatically generated by the Swagger Codegen project:

  • API version: v1
  • Package version: v1
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install ipp___location_http_api --save
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

Finally, switch to the directory you want to use your ipp___location_http_api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

You should now be able to require('ipp___location_http_api') in javascript files from the directory you ran the last command above from.

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/ipp___location_http_api then install it via:

    npm install YOUR_USERNAME/ipp___location_http_api --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file, that's to say your javascript file where you actually use this library):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var IppLocationHttpApi = require('ipp___location_http_api');

var api = new IppLocationHttpApi.AppraisalApi()

var opts = { 
  'value': new IppLocationHttpApi.AppraisalOperInfo() // {AppraisalOperInfo} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addOper(opts, callback);

Documentation for API Endpoints

All URIs are relative to https://localhost

Class Method HTTP request Description
IppLocationHttpApi.AppraisalApi addOper POST /api/Appraisal/addoper 添加鉴定动作
IppLocationHttpApi.AppraisalApi callDelete DELETE /api/Appraisal/{id} 删除
IppLocationHttpApi.AppraisalApi deloper DELETE /api/Appraisal/deloper 删除鉴定动作
IppLocationHttpApi.AppraisalApi get GET /api/Appraisal 获取分页
IppLocationHttpApi.AppraisalApi get_0 GET /api/Appraisal/{id} 获取详细信息,包括操作记录
IppLocationHttpApi.AppraisalApi page POST /api/Appraisal/WhereSearch 条件搜素
IppLocationHttpApi.AppraisalApi post POST /api/Appraisal 添加
IppLocationHttpApi.AppraisalApi put PUT /api/Appraisal/{id} 更新
IppLocationHttpApi.AppraisalApi putoper PUT /api/Appraisal/putoper 更新用户信息
IppLocationHttpApi.AuthApi detectInfo POST /api/Auth/DetectAuth 处理验证信息,实名认证信息保存
IppLocationHttpApi.AuthApi requestToken POST /api/Auth login
IppLocationHttpApi.AuthApi sendEmail GET /api/Auth/SendEmail 通过邮箱验证
IppLocationHttpApi.AuthApi sendMsg GET /api/Auth/sendSms 短信验证码
IppLocationHttpApi.AuthApi verification GET /api/Auth/Verification 验证验证码
IppLocationHttpApi.EnterpriseInfoApi callDelete DELETE /api/EnterpriseInfo/{id}
IppLocationHttpApi.EnterpriseInfoApi commonCost GET /api/EnterpriseInfo/CommonCost 对公打款服务端输入
IppLocationHttpApi.EnterpriseInfoApi get GET /api/EnterpriseInfo
IppLocationHttpApi.EnterpriseInfoApi get_0 GET /api/EnterpriseInfo/{id}
IppLocationHttpApi.EnterpriseInfoApi post POST /api/EnterpriseInfo
IppLocationHttpApi.EnterpriseInfoApi put PUT /api/EnterpriseInfo/{id}
IppLocationHttpApi.EnterpriseInfoApi put_0 PUT /api/EnterpriseInfo/EnterpriseFieldUpdate 更新用户数据
IppLocationHttpApi.EnterpriseInfoApi varification GET /api/EnterpriseInfo/Varification 客户端对公打款验证
IppLocationHttpApi.ExhibitionApi callDelete DELETE /api/Exhibition/{id} 删除数据
IppLocationHttpApi.ExhibitionApi get GET /api/Exhibition 获取数据
IppLocationHttpApi.ExhibitionApi post POST /api/Exhibition 展示数据插入
IppLocationHttpApi.ExhibitionApi put PUT /api/Exhibition/{id} 更新数据
IppLocationHttpApi.ExhibitionApi put_0 PUT /api/Exhibition/muilt 批量跟新数据
IppLocationHttpApi.ExpertExtApi callDelete DELETE /api/ExpertExt/{id} 删除专家用户
IppLocationHttpApi.ExpertExtApi get GET /api/ExpertExt 获取分页用户
IppLocationHttpApi.ExpertExtApi get_0 GET /api/ExpertExt/{id} 获取用户数据
IppLocationHttpApi.ExpertExtApi post POST /api/ExpertExt 添加专家数据成功Code 为 1,反之为-1
IppLocationHttpApi.ExpertExtApi put PUT /api/ExpertExt/{id} 更新用户数据
IppLocationHttpApi.ExpertExtApi put_0 PUT /api/ExpertExt/expertFieldUpdate 更新用户数据
IppLocationHttpApi.MessageApi publish POST /api/Message/Publish 发布消息 回答主题的消息messageId设置为主题的id,如果不需要关联不用设置,不写默认生成 pid设置为父消息的messageId,如果是回复根消息,不用设置
IppLocationHttpApi.MessageApi sendMessage POST /api/Message/sendChatBaseMessage 发送及时对话消息,如果用户不在线,缓存在数据库 如果需要及时消息,需要连接websocket 连接路径 &quot;ws://host:port?id=登录用户id
IppLocationHttpApi.MessageApi showConsultMessagePage GET /api/Message/ShowMessagePage 查看发布的文档分页数据
IppLocationHttpApi.MessageApi showMessage GET /api/Message/ShowConsultMessage 查看发布消息的整体消息内容 发布主题的id,或者写入的自定义id,返回出当前id下面的所有聊天节点 子聊天数据如果有默认只返回3条
IppLocationHttpApi.MessageApi showMessage_0 GET /api/Message/ShowConsultChildMessage 查看发布的分页消息类容
IppLocationHttpApi.MessageApi showMessage_1 GET /api/Message/ShowChatBaseMessage 查看及时消息内容 消息顺序排序
IppLocationHttpApi.ServiceInstitutionApi callDelete DELETE /api/ServiceInstitution/{id} 删除服务机构数据
IppLocationHttpApi.ServiceInstitutionApi get GET /api/ServiceInstitution 获取分页用户
IppLocationHttpApi.ServiceInstitutionApi get_0 GET /api/ServiceInstitution/{id} 获取用户数据
IppLocationHttpApi.ServiceInstitutionApi post POST /api/ServiceInstitution 添加用户成功Code 为 1,反之为-1
IppLocationHttpApi.ServiceInstitutionApi put PUT /api/ServiceInstitution/{id} 更新用户数据
IppLocationHttpApi.ServiceInstitutionApi put_0 PUT /api/ServiceInstitution/serviceInstitutionFieldUpdate 更新服务机构数据
IppLocationHttpApi.TrainApi callDelete DELETE /api/Train/{id} 删除活动,删除后报名的用户数据消失
IppLocationHttpApi.TrainApi get GET /api/Train 获取活动
IppLocationHttpApi.TrainApi get_0 GET /api/Train/{id} 获取活动信息
IppLocationHttpApi.TrainApi post POST /api/Train 发布活动
IppLocationHttpApi.TrainApi put PUT /api/Train/{id} 更新活动
IppLocationHttpApi.TrainApi sigup GET /api/Train/sigup 报名参加活动,活动状态如果不是报名状态,不能报名
IppLocationHttpApi.UiltApi createIdentityId POST /api/Uilt/CreateIdentityId 创建身份id
IppLocationHttpApi.UiltApi getLocation GET /api/Uilt/GetLocation 查询中国省市
IppLocationHttpApi.UiltApi identityIdInfo GET /api/Uilt/IdentityIdInfo 解析身份id
IppLocationHttpApi.UploadApi dowload GET /api/Upload/{id} 文件下载
IppLocationHttpApi.UploadApi downdata GET /api/Upload/downdata 返回数据流
IppLocationHttpApi.UploadApi getFileInfo POST /api/Upload/fileinfo 获取文件信息
IppLocationHttpApi.UploadApi uploadFile POST /api/Upload 进行文件上传,标签名为 filelist
IppLocationHttpApi.UserApi callDelete DELETE /api/User/{id} 删除用户
IppLocationHttpApi.UserApi get GET /api/User 获取分页用户
IppLocationHttpApi.UserApi get_0 GET /api/User/getAllUserInfo 获取分页用户
IppLocationHttpApi.UserApi get_1 GET /api/User/{id} 获取用户数据
IppLocationHttpApi.UserApi page POST /api/User/WhereSearch 条件搜素
IppLocationHttpApi.UserApi post POST /api/User 添加用户成功Code 为 1,反之为-1
IppLocationHttpApi.UserApi put PUT /api/User/{id} 更新用户数据,不能修改密码
IppLocationHttpApi.UserApi search GET /api/User/searchByUsername 获取用户数据,根据用户名
IppLocationHttpApi.UserApi updatePassword PUT /api/User/updatePassword 更新密码
IppLocationHttpApi.UserApi updateUserInfo POST /api/User/UpdateUserInfo 更新用户信息
IppLocationHttpApi.UserInformationApi callDelete DELETE /api/userInformation/{id} 删除
IppLocationHttpApi.UserInformationApi get GET /api/userInformation 获取分页数据
IppLocationHttpApi.UserInformationApi get_0 GET /api/userInformation/{id} 获取人物经历
IppLocationHttpApi.UserInformationApi post POST /api/userInformation 创建人物经历
IppLocationHttpApi.UserInformationApi put PUT /api/userInformation/{id} 修改经历

Documentation for Models

Documentation for Authorization

oauth2

Readme

Keywords

none

Package Sidebar

Install

npm i ippv1

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

512 kB

Total Files

109

Last publish

Collaborators

  • junmoxiao