| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- "use strict";
- const utils_request = require("../utils/request.js");
- function updateStudent(data) {
- return utils_request.request({
- url: "/main/student",
- method: "PUT",
- data
- });
- }
- function getStudent(id) {
- return utils_request.request({
- url: "/main/student/" + id,
- method: "GET"
- });
- }
- function getAppendixList(studentId) {
- return utils_request.request({
- url: "/main/studentAppendix/list",
- method: "GET",
- params: { studentId }
- });
- }
- function addAppendix(data) {
- return utils_request.request({
- url: "/main/studentAppendix/add",
- method: "POST",
- data
- });
- }
- function removeAppendix(ids) {
- return utils_request.request({
- url: "/main/studentAppendix/" + ids,
- method: "DELETE"
- });
- }
- exports.addAppendix = addAppendix;
- exports.getAppendixList = getAppendixList;
- exports.getStudent = getStudent;
- exports.removeAppendix = removeAppendix;
- exports.updateStudent = updateStudent;
- //# sourceMappingURL=../../.sourcemap/mp-weixin/api/student.js.map
|