Code Monkey home page Code Monkey logo

alumniassociation's Introduction

开发指南

各种材料地址

1.页面原型:https://www.xiaopiu.com/h5/byId?type=project&id=5ce3a151d8c9673c03f42e13

2.校友会公众号需求说明书:https://shimo.im/docs/JhzmOzI5QOEhhpLY/

3.校友公众平台需求思维导图:https://shimo.im/mindmaps/Qz3YTUbiX3Q1IiwS/

阿里云发短信包可能下载不到需要本地安装,jar包在extralib下

mvn install:install-file -DgroupId=com.aliyun.mns -DartifactId=aliyun-java-sdk-dybaseapi -Dversion=1.0.0 -Dpackaging=jar -Dfile=/Users/cxx/Downloads/dypls_java/msg_sdk/aliyun-java-sdk-dybaseapi-1.0.0.jar

mvn install:install-file -DgroupId=com.aliyun.alicom -DartifactId=alicom-mns-receive-sdk -Dversion=1.0.0 -Dpackaging=jar -Dfile=/Users/cxx/Downloads/dypls_java/msg_sdk/alicom-mns-receive-sdk-1.0.0.jar

请确保安装了lombok插件

为了方便后端快速开发和测试,增加鉴权mock类

使用方法 打开配置文件中的 mock.open=true 既可以

打开鉴权mock后,使用postman等接口测试工具进行接口测试

模拟登录后返回数据,拿到token,放入要测试接口的请求头部,X-Alumniassociation-Token=[这里放token,括号不要]

{
    "code": 1,
    "msg": "OK",
    "data": {
        "userInfo": {
            "id": 11,
            "realName": null,
            "nickName": "江理小星",
            "birthday": null,
            "sex": 1,
            "phoneNum": null,
            "entranceTime": null,
            "graduationTime": null,
            "college": null,
            "major": null,
            "currLocation": null,
            "industrySkill": null,
            "hobby": null,
            "personalProfile": null,
            "userStatus": false,
            "createTime": null,
            "updateTime": null,
            "wechatImage": "/mock/pic",
            "openId": "mockOpenIdabf1b608-e134-436f-9006-e008f3bc2c60",
            "score": 0.0,
            "sessionKey": "mockSessionKeye15b9862-5485-404c-9799-ae1fa3392590",
            "lastLoginTime": null,
            "lastLoginIp": "0:0:0:0:0:0:0:1"
        },
        "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0aGlzIGlzIEFsdW1uaWFzc29jaWF0aW9uIHRva2VuIiwiYXVkIjoiTUlOSUFQUCIsImlzcyI6IkFsdW1uaWFzc29jaWF0aW9uIiwiZXhwIjoxNTY5NTE2MDAwLCJ1c2VySWQiOjExLCJpYXQiOjE1Njk1MDg4MDB9.GzHslX36g64pXs0KmTRj8r0bJYi4o0rcRik_cBwejkA"
    }
}

线上数据库可能网络不稳定建议同步结构和数据到本地(navicat/dbeaver都可以)

建议按功能点提交代码,便于追溯

alumniassociation's People

Contributors

liuyuzhou avatar makenchan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.