forked from java110/WechatOwnerService
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
118 changed files
with
3,216 additions
and
3,423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { | ||
request | ||
} from '../java110Request.js' | ||
import | ||
url | ||
from '../../constant/url.js' | ||
|
||
import | ||
mapping | ||
from '../../constant/MappingConstant.js' | ||
|
||
/** | ||
* 报修评价 | ||
* @param {Object} _data 评价内容 | ||
*/ | ||
export function appraiseRepair(_data) { | ||
return new Promise((resolve, reject) => { | ||
let moreRooms = []; | ||
request({ | ||
url: url.appraiseRepair, | ||
method: "POST", | ||
data: _data, //动态数据 | ||
success: function(res) { | ||
let _data = res.data; | ||
if (_data.code == 0) { | ||
resolve(_data); | ||
return ; | ||
} | ||
reject(_data.msg); | ||
}, | ||
fail: function(e) { | ||
reject(e); | ||
} | ||
}); | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.