Skip to content

Commit a9b65a7

Browse files
committed
修改请求返回结果
1 parent 91a172d commit a9b65a7

File tree

9 files changed

+10
-106
lines changed

9 files changed

+10
-106
lines changed

dist/iclient-classic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,6 +1816,7 @@ var CommonServiceBase = function () {
18161816
var failure = options.scope ? _SuperMap2.default.Function.bind(options.failure, options.scope) : options.failure;
18171817
failure(result.error);
18181818
} else {
1819+
result.succeed = result.succeed == undefined ? true : result.succeed;
18191820
var success = options.scope ? _SuperMap2.default.Function.bind(options.success, options.scope) : options.success;
18201821
success(result);
18211822
}

dist/iclient-classic.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-leaflet.js

Lines changed: 2 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,6 +1623,7 @@ var CommonServiceBase = function () {
16231623
var failure = options.scope ? _SuperMap2["default"].Function.bind(options.failure, options.scope) : options.failure;
16241624
failure(result.error);
16251625
} else {
1626+
result.succeed = result.succeed == undefined ? true : result.succeed;
16261627
var success = options.scope ? _SuperMap2["default"].Function.bind(options.success, options.scope) : options.success;
16271628
success(result);
16281629
}
@@ -62313,108 +62314,7 @@ eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a
6231362314
/* 382 */
6231462315
/***/ (function(module, exports) {
6231562316

62316-
module.exports = {
62317-
"_from": "proj4@2.3.15",
62318-
"_id": "proj4@2.3.15",
62319-
"_inBundle": false,
62320-
"_integrity": "sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=",
62321-
"_location": "/proj4",
62322-
"_phantomChildren": {},
62323-
"_requested": {
62324-
"type": "version",
62325-
"registry": true,
62326-
"raw": "proj4@2.3.15",
62327-
"name": "proj4",
62328-
"escapedName": "proj4",
62329-
"rawSpec": "2.3.15",
62330-
"saveSpec": null,
62331-
"fetchSpec": "2.3.15"
62332-
},
62333-
"_requiredBy": [
62334-
"/"
62335-
],
62336-
"_resolved": "http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz",
62337-
"_shasum": "5ad06e8bca30be0ffa389a49e4565f51f06d089e",
62338-
"_spec": "proj4@2.3.15",
62339-
"_where": "F:\\dev\\iClient",
62340-
"author": "",
62341-
"bugs": {
62342-
"url": "https://github.com/proj4js/proj4js/issues"
62343-
},
62344-
"bundleDependencies": false,
62345-
"contributors": [
62346-
{
62347-
"name": "Mike Adair",
62348-
"email": "madair@dmsolutions.ca"
62349-
},
62350-
{
62351-
"name": "Richard Greenwood",
62352-
"email": "rich@greenwoodmap.com"
62353-
},
62354-
{
62355-
"name": "Calvin Metcalf",
62356-
"email": "calvin.metcalf@gmail.com"
62357-
},
62358-
{
62359-
"name": "Richard Marsden",
62360-
"url": "http://www.winwaed.com"
62361-
},
62362-
{
62363-
"name": "T. Mittan"
62364-
},
62365-
{
62366-
"name": "D. Steinwand"
62367-
},
62368-
{
62369-
"name": "S. Nelson"
62370-
}
62371-
],
62372-
"dependencies": {
62373-
"mgrs": "~0.0.2"
62374-
},
62375-
"deprecated": false,
62376-
"description": "Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",
62377-
"devDependencies": {
62378-
"browserify": "~12.0.1",
62379-
"chai": "~1.8.1",
62380-
"curl": "git://github.com/cujojs/curl.git",
62381-
"grunt": "~0.4.2",
62382-
"grunt-browserify": "~4.0.1",
62383-
"grunt-cli": "~0.1.13",
62384-
"grunt-contrib-connect": "~0.6.0",
62385-
"grunt-contrib-jshint": "~0.8.0",
62386-
"grunt-contrib-uglify": "~0.11.1",
62387-
"grunt-mocha-phantomjs": "~0.4.0",
62388-
"istanbul": "~0.2.4",
62389-
"mocha": "~1.17.1",
62390-
"tin": "~0.4.0"
62391-
},
62392-
"directories": {
62393-
"test": "test",
62394-
"doc": "docs"
62395-
},
62396-
"homepage": "https://github.com/proj4js/proj4js#readme",
62397-
"jam": {
62398-
"main": "dist/proj4.js",
62399-
"include": [
62400-
"dist/proj4.js",
62401-
"README.md",
62402-
"AUTHORS",
62403-
"LICENSE.md"
62404-
]
62405-
},
62406-
"license": "MIT",
62407-
"main": "lib/index.js",
62408-
"name": "proj4",
62409-
"repository": {
62410-
"type": "git",
62411-
"url": "git://github.com/proj4js/proj4js.git"
62412-
},
62413-
"scripts": {
62414-
"test": "./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"
62415-
},
62416-
"version": "2.3.15"
62417-
};
62317+
module.exports = {"_args":[["proj4@2.3.15","E:\\git\\iClient9"]],"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inCache":true,"_installable":true,"_location":"/proj4","_nodeVersion":"6.1.0","_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/proj4-2.3.15.tgz_1471808262546_0.6752060337457806"},"_npmUser":{"email":"andreas.hocevar@gmail.com","name":"ahocevar"},"_npmVersion":"3.8.6","_phantomChildren":{},"_requested":{"name":"proj4","raw":"proj4@2.3.15","rawSpec":"2.3.15","scope":null,"spec":"2.3.15","type":"version"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/proj4/-/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_shrinkwrap":null,"_spec":"proj4@2.3.15","_where":"E:\\git\\iClient9","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"contributors":[{"email":"madair@dmsolutions.ca","name":"Mike Adair"},{"email":"rich@greenwoodmap.com","name":"Richard Greenwood"},{"email":"calvin.metcalf@gmail.com","name":"Calvin Metcalf"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"doc":"docs","test":"test"},"dist":{"shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","tarball":"https://registry.npmjs.org/proj4/-/proj4-2.3.15.tgz"},"gitHead":"9fa5249c1f4183d5ddee3c4793dfd7b9f29f1886","homepage":"https://github.com/proj4js/proj4js#readme","jam":{"include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"],"main":"dist/proj4.js"},"license":"MIT","main":"lib/index.js","maintainers":[{"email":"calvin.metcalf@gmail.com","name":"cwmma"},{"email":"andreas.hocevar@gmail.com","name":"ahocevar"}],"name":"proj4","optionalDependencies":{},"readme":"ERROR: No README data found!","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"}
6241862318

6241962319
/***/ }),
6242062320
/* 383 */

dist/iclient9-leaflet.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-mapboxgl.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,7 @@ var CommonServiceBase = function () {
16171617
var failure = options.scope ? _SuperMap2.default.Function.bind(options.failure, options.scope) : options.failure;
16181618
failure(result.error);
16191619
} else {
1620+
result.succeed = result.succeed == undefined ? true : result.succeed;
16201621
var success = options.scope ? _SuperMap2.default.Function.bind(options.success, options.scope) : options.success;
16211622
success(result);
16221623
}

dist/iclient9-mapboxgl.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-openlayers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,6 +1623,7 @@ var CommonServiceBase = function () {
16231623
var failure = options.scope ? _SuperMap2.default.Function.bind(options.failure, options.scope) : options.failure;
16241624
failure(result.error);
16251625
} else {
1626+
result.succeed = result.succeed == undefined ? true : result.succeed;
16261627
var success = options.scope ? _SuperMap2.default.Function.bind(options.success, options.scope) : options.success;
16271628
success(result);
16281629
}

dist/iclient9-openlayers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/common/iServer/CommonServiceBase.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ export default class CommonServiceBase {
372372
var failure = (options.scope) ? SuperMap.Function.bind(options.failure, options.scope) : options.failure;
373373
failure(result.error);
374374
}else{
375+
result.succeed = result.succeed == undefined ? true : result.succeed;
375376
var success = (options.scope) ? SuperMap.Function.bind(options.success, options.scope) : options.success;
376377
success(result);
377378
}

0 commit comments

Comments
 (0)