1. import Api from './base.js'
    2. class Wechat extends Api{
    3. Module="_wechat"
    4. Class="Mini"
    5. /**
    6. * Code登陆处理
    7. * @param {string} Code
    8. */
    9. code(Code,Nick,Avatar,Phone){
    10. return this.post("code/wx6ba99c6f4d9034bf",{Code,Nick,Avatar,Phone})
    11. }
    12. }
    13. const WechatApi = new Wechat
    14. export default WechatApi;