zhangweicheng 8 лет назад
Родитель
Сommit
5ecf414040

+ 0 - 2
modules/ration_glj/facade/ration_glj_facade.js

@@ -89,7 +89,6 @@ function get_lib_glj_info(ration_glj) {
             if(err){
                 cb(err,'')
             }else if(glj){
-                console.log(glj);
                 ration_glj.name = glj.name;
                 ration_glj.code = glj.code;
                 ration_glj.unit = glj.unit;
@@ -125,7 +124,6 @@ async function getInfoFromProjectGLJ(ration_glj) {
          market_price: ration_glj.basePrice
      };
 
-     console.log(ration_glj);
      try {
          let projectGljModel = new GLJListModel();
          let result = await projectGljModel.addList(data);

+ 0 - 2
modules/users/controllers/login_controller.js

@@ -6,7 +6,6 @@
  * @version
  */
 import UserModel from "../models/user_model";
-import c_fa from "../../../modules/ration_glj/facade/glj_calculate_facade"
 
 
 class LoginController {
@@ -71,7 +70,6 @@ class LoginController {
         } catch (error) {
             return response.json({error: 1, msg: error});
         }
-        c_fa.getGLJTypeByID(1);
         response.json({error: 0, msg: '', exist: userExist ? 1 : 0});
     }