...
|
...
|
@@ -29,8 +29,6 @@ const studentsCode = '989396a17443bf61e3e269702e51ef04'; // h5 a83b7d55324fb65f9 |
|
|
* @return name returnType 返回值描述
|
|
|
*/
|
|
|
exports.getStudentsData = (channel) => {
|
|
|
let finalResult = {};
|
|
|
|
|
|
return api.all([
|
|
|
headerModel.requestHeaderData(channel),
|
|
|
serviceApi.get('operations/api/v5/resource/get', {content_code: studentsCode})
|
...
|
...
|
@@ -46,10 +44,9 @@ exports.getStudentsData = (channel) => { |
|
|
|
|
|
// 资源位数据
|
|
|
if (result[1].code === 200) {
|
|
|
Object.assign(responseData, stuHandler.studentResource(result[0].data));
|
|
|
Object.assign(responseData, stuHandler.studentResource(result[1].data));
|
|
|
}
|
|
|
console.log(result);
|
|
|
return finalResult;
|
|
|
return responseData;
|
|
|
});
|
|
|
};
|
|
|
|
...
|
...
|
|