Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
goods
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
goods
Commits
3b0a3191
Commit
3b0a3191
authored
Jun 29, 2021
by
luhongguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://git.yidian-inc.com:8021/bp/goods
into develop
parents
b8dfa029
9bb66349
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
44 additions
and
39 deletions
+44
-39
ShopService.php
application/services/shop/ShopService.php
+9
-5
GetImage.php
vendor/api/php_services/src/ShopImage/GetImage.php
+1
-0
autoload.php
vendor/autoload.php
+1
-1
InstalledVersions.php
vendor/composer/InstalledVersions.php
+3
-3
autoload_files.php
vendor/composer/autoload_files.php
+7
-7
autoload_real.php
vendor/composer/autoload_real.php
+7
-7
autoload_static.php
vendor/composer/autoload_static.php
+11
-11
installed.json
vendor/composer/installed.json
+2
-2
installed.php
vendor/composer/installed.php
+3
-3
tmp-acc40ce5111c3459a82c67cd073c2557~
vendor/composer/tmp-acc40ce5111c3459a82c67cd073c2557~
+0
-0
tmp-e492e5a9d5cf259e0e996d7ca633bd26~
vendor/composer/tmp-e492e5a9d5cf259e0e996d7ca633bd26~
+0
-0
No files found.
application/services/shop/ShopService.php
View file @
3b0a3191
...
...
@@ -163,14 +163,18 @@ class ShopService
}
$colums
[
'shop_name'
]
=
$name
;
$subShopInfo
=
SubShop
::
getRecord
([
'shop_name'
=>
$name
]);
if
(
!
empty
(
$subShopInfo
)
&&
$subShopInfo
[
'sub_shop_id'
]
!=
$where
[
'sub_shop_id'
])
{
throw
new
ShopException
([
'cus'
=>
6
]);
//更新
if
(
!
empty
(
$where
[
'sub_shop_id'
]))
{
if
(
!
empty
(
$subShopInfo
)
&&
$subShopInfo
[
'sub_shop_id'
]
!=
$where
[
'sub_shop_id'
])
{
throw
new
ShopException
([
'cus'
=>
6
]);
}
}
else
{
if
(
!
empty
(
$subShopInfo
))
{
throw
new
ShopException
([
'cus'
=>
6
]);
}
}
}
if
(
!
empty
(
$longitude
))
{
$colums
[
'longitude'
]
=
$longitude
;
...
...
vendor/api/php_services/src/ShopImage/GetImage.php
View file @
3b0a3191
...
...
@@ -93,6 +93,7 @@ class GetImage
$logo
=
__DIR__
.
'/images/2-logo.png'
;
$qr
=
new
QR
(
$code
);
$qr
->
setLogoUrl
(
$logo
);
$qr
->
setLogoSize
(
50
);
$qr_string
=
$qr
->
get
();
$qr_img
=
imagecreatefromstring
(
$qr_string
);
list
(
$qr_w
,
$qr_h
)
=
getimagesizefromstring
(
$qr_string
);
...
...
vendor/autoload.php
View file @
3b0a3191
...
...
@@ -4,4 +4,4 @@
require_once
__DIR__
.
'/composer/autoload_real.php'
;
return
ComposerAutoloaderInit
48fd9e88279ffd9162a19bdedd5d5a0a
::
getLoader
();
return
ComposerAutoloaderInit
90e85a2e64f8339192f3e91b8700b9f2
::
getLoader
();
vendor/composer/InstalledVersions.php
View file @
3b0a3191
...
...
@@ -32,7 +32,7 @@ private static $installed = array (
'aliases'
=>
array
(
),
'reference'
=>
'
63ee061ebc9d20745b003c183f10caefb377bed6
'
,
'reference'
=>
'
76981b468d0856b108d42431aeb21cc295e6c5e4
'
,
'name'
=>
'yidian/yaf_demo'
,
),
'versions'
=>
...
...
@@ -45,7 +45,7 @@ private static $installed = array (
array
(
0
=>
'9999999-dev'
,
),
'reference'
=>
'
9a1982a7a382d51a8b58e121a63248c258d2ca9f
'
,
'reference'
=>
'
6af1722df32913ad981251a0d1c11b77d53be716
'
,
),
'api/php_utils'
=>
array
(
...
...
@@ -335,7 +335,7 @@ private static $installed = array (
'aliases'
=>
array
(
),
'reference'
=>
'
63ee061ebc9d20745b003c183f10caefb377bed6
'
,
'reference'
=>
'
76981b468d0856b108d42431aeb21cc295e6c5e4
'
,
),
),
);
...
...
vendor/composer/autoload_files.php
View file @
3b0a3191
...
...
@@ -8,18 +8,18 @@ $baseDir = dirname($vendorDir);
return
array
(
'a4a119a56e50fbb293281d9a48007e0e'
=>
$vendorDir
.
'/symfony/polyfill-php80/bootstrap.php'
,
'6e3fae29631ef280660b3cdad06f25a8'
=>
$vendorDir
.
'/symfony/deprecation-contracts/function.php'
,
'320cde22f66dd4f5d3fd621d3e88b98f'
=>
$vendorDir
.
'/symfony/polyfill-ctype/bootstrap.php'
,
'8825ede83f2f289127722d4e842cf7e8'
=>
$vendorDir
.
'/symfony/polyfill-intl-grapheme/bootstrap.php'
,
'e69f7f6ee287b969198c3c9d6777bd38'
=>
$vendorDir
.
'/symfony/polyfill-intl-normalizer/bootstrap.php'
,
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a'
=>
$vendorDir
.
'/symfony/polyfill-mbstring/bootstrap.php'
,
'e69f7f6ee287b969198c3c9d6777bd38'
=>
$vendorDir
.
'/symfony/polyfill-intl-normalizer/bootstrap.php'
,
'8825ede83f2f289127722d4e842cf7e8'
=>
$vendorDir
.
'/symfony/polyfill-intl-grapheme/bootstrap.php'
,
'320cde22f66dd4f5d3fd621d3e88b98f'
=>
$vendorDir
.
'/symfony/polyfill-ctype/bootstrap.php'
,
'b6b991a57620e2fb6b2f66f03fe9ddc2'
=>
$vendorDir
.
'/symfony/string/Resources/functions.php'
,
'7b11c4dc42b3b3023073cb14e519683c'
=>
$vendorDir
.
'/ralouphie/getallheaders/src/getallheaders.php'
,
'ad155f8f1cf0d418fe49e248db8c661b'
=>
$vendorDir
.
'/react/promise/src/functions_include.php'
,
'
b6b991a57620e2fb6b2f66f03fe9ddc2'
=>
$vendorDir
.
'/symfony/string/Resources/functions
.php'
,
'
0d59ee240a4cd96ddbb4ff164fccea4d'
=>
$vendorDir
.
'/symfony/polyfill-php73/bootstrap
.php'
,
'c964ee0ededf28c96ebd9db5099ef910'
=>
$vendorDir
.
'/guzzlehttp/promises/src/functions_include.php'
,
'a0edc8309cc5e1d60e3047b5df6b7052'
=>
$vendorDir
.
'/guzzlehttp/psr7/src/functions_include.php'
,
'0d59ee240a4cd96ddbb4ff164fccea4d'
=>
$vendorDir
.
'/symfony/polyfill-php73/bootstrap.php'
,
'8592c7b0947d8a0965a9e8c3d16f9c24'
=>
$vendorDir
.
'/elasticsearch/elasticsearch/src/autoload.php'
,
'37a3dc5111fe8f707ab4c132ef1dbc62'
=>
$vendorDir
.
'/guzzlehttp/guzzle/src/functions_include.php'
,
'a9ed0d27b5a698798a89181429f162c5'
=>
$vendorDir
.
'/khanamiryan/qrcode-detector-decoder/lib/Common/customFunctions.php'
,
'3a37ebac017bc098e9a86b35401e7a68'
=>
$vendorDir
.
'/mongodb/mongodb/src/functions.php'
,
'37a3dc5111fe8f707ab4c132ef1dbc62'
=>
$vendorDir
.
'/guzzlehttp/guzzle/src/functions_include.php'
,
'8592c7b0947d8a0965a9e8c3d16f9c24'
=>
$vendorDir
.
'/elasticsearch/elasticsearch/src/autoload.php'
,
);
vendor/composer/autoload_real.php
View file @
3b0a3191
...
...
@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class
ComposerAutoloaderInit
48fd9e88279ffd9162a19bdedd5d5a0a
class
ComposerAutoloaderInit
90e85a2e64f8339192f3e91b8700b9f2
{
private
static
$loader
;
...
...
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit48fd9e88279ffd9162a19bdedd5d5a0a
require
__DIR__
.
'/platform_check.php'
;
spl_autoload_register
(
array
(
'ComposerAutoloaderInit
48fd9e88279ffd9162a19bdedd5d5a0a
'
,
'loadClassLoader'
),
true
,
true
);
spl_autoload_register
(
array
(
'ComposerAutoloaderInit
90e85a2e64f8339192f3e91b8700b9f2
'
,
'loadClassLoader'
),
true
,
true
);
self
::
$loader
=
$loader
=
new
\Composer\Autoload\ClassLoader
(
\dirname
(
\dirname
(
__FILE__
)));
spl_autoload_unregister
(
array
(
'ComposerAutoloaderInit
48fd9e88279ffd9162a19bdedd5d5a0a
'
,
'loadClassLoader'
));
spl_autoload_unregister
(
array
(
'ComposerAutoloaderInit
90e85a2e64f8339192f3e91b8700b9f2
'
,
'loadClassLoader'
));
$useStaticLoader
=
PHP_VERSION_ID
>=
50600
&&
!
defined
(
'HHVM_VERSION'
)
&&
(
!
function_exists
(
'zend_loader_file_encoded'
)
||
!
zend_loader_file_encoded
());
if
(
$useStaticLoader
)
{
require
__DIR__
.
'/autoload_static.php'
;
call_user_func
(
\Composer\Autoload\ComposerStaticInit
48fd9e88279ffd9162a19bdedd5d5a0a
::
getInitializer
(
$loader
));
call_user_func
(
\Composer\Autoload\ComposerStaticInit
90e85a2e64f8339192f3e91b8700b9f2
::
getInitializer
(
$loader
));
}
else
{
$map
=
require
__DIR__
.
'/autoload_namespaces.php'
;
foreach
(
$map
as
$namespace
=>
$path
)
{
...
...
@@ -53,19 +53,19 @@ class ComposerAutoloaderInit48fd9e88279ffd9162a19bdedd5d5a0a
$loader
->
register
(
true
);
if
(
$useStaticLoader
)
{
$includeFiles
=
Composer\Autoload\ComposerStaticInit
48fd9e88279ffd9162a19bdedd5d5a0a
::
$files
;
$includeFiles
=
Composer\Autoload\ComposerStaticInit
90e85a2e64f8339192f3e91b8700b9f2
::
$files
;
}
else
{
$includeFiles
=
require
__DIR__
.
'/autoload_files.php'
;
}
foreach
(
$includeFiles
as
$fileIdentifier
=>
$file
)
{
composerRequire
48fd9e88279ffd9162a19bdedd5d5a0a
(
$fileIdentifier
,
$file
);
composerRequire
90e85a2e64f8339192f3e91b8700b9f2
(
$fileIdentifier
,
$file
);
}
return
$loader
;
}
}
function
composerRequire
48fd9e88279ffd9162a19bdedd5d5a0a
(
$fileIdentifier
,
$file
)
function
composerRequire
90e85a2e64f8339192f3e91b8700b9f2
(
$fileIdentifier
,
$file
)
{
if
(
empty
(
$GLOBALS
[
'__composer_autoload_files'
][
$fileIdentifier
]))
{
require
$file
;
...
...
vendor/composer/autoload_static.php
View file @
3b0a3191
...
...
@@ -4,25 +4,25 @@
namespace
Composer\Autoload
;
class
ComposerStaticInit
48fd9e88279ffd9162a19bdedd5d5a0a
class
ComposerStaticInit
90e85a2e64f8339192f3e91b8700b9f2
{
public
static
$files
=
array
(
'a4a119a56e50fbb293281d9a48007e0e'
=>
__DIR__
.
'/..'
.
'/symfony/polyfill-php80/bootstrap.php'
,
'6e3fae29631ef280660b3cdad06f25a8'
=>
__DIR__
.
'/..'
.
'/symfony/deprecation-contracts/function.php'
,
'320cde22f66dd4f5d3fd621d3e88b98f'
=>
__DIR__
.
'/..'
.
'/symfony/polyfill-ctype/bootstrap.php'
,
'8825ede83f2f289127722d4e842cf7e8'
=>
__DIR__
.
'/..'
.
'/symfony/polyfill-intl-grapheme/bootstrap.php'
,
'e69f7f6ee287b969198c3c9d6777bd38'
=>
__DIR__
.
'/..'
.
'/symfony/polyfill-intl-normalizer/bootstrap.php'
,
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a'
=>
__DIR__
.
'/..'
.
'/symfony/polyfill-mbstring/bootstrap.php'
,
'e69f7f6ee287b969198c3c9d6777bd38'
=>
__DIR__
.
'/..'
.
'/symfony/polyfill-intl-normalizer/bootstrap.php'
,
'8825ede83f2f289127722d4e842cf7e8'
=>
__DIR__
.
'/..'
.
'/symfony/polyfill-intl-grapheme/bootstrap.php'
,
'320cde22f66dd4f5d3fd621d3e88b98f'
=>
__DIR__
.
'/..'
.
'/symfony/polyfill-ctype/bootstrap.php'
,
'b6b991a57620e2fb6b2f66f03fe9ddc2'
=>
__DIR__
.
'/..'
.
'/symfony/string/Resources/functions.php'
,
'7b11c4dc42b3b3023073cb14e519683c'
=>
__DIR__
.
'/..'
.
'/ralouphie/getallheaders/src/getallheaders.php'
,
'ad155f8f1cf0d418fe49e248db8c661b'
=>
__DIR__
.
'/..'
.
'/react/promise/src/functions_include.php'
,
'
b6b991a57620e2fb6b2f66f03fe9ddc2'
=>
__DIR__
.
'/..'
.
'/symfony/string/Resources/functions
.php'
,
'
0d59ee240a4cd96ddbb4ff164fccea4d'
=>
__DIR__
.
'/..'
.
'/symfony/polyfill-php73/bootstrap
.php'
,
'c964ee0ededf28c96ebd9db5099ef910'
=>
__DIR__
.
'/..'
.
'/guzzlehttp/promises/src/functions_include.php'
,
'a0edc8309cc5e1d60e3047b5df6b7052'
=>
__DIR__
.
'/..'
.
'/guzzlehttp/psr7/src/functions_include.php'
,
'0d59ee240a4cd96ddbb4ff164fccea4d'
=>
__DIR__
.
'/..'
.
'/symfony/polyfill-php73/bootstrap.php'
,
'8592c7b0947d8a0965a9e8c3d16f9c24'
=>
__DIR__
.
'/..'
.
'/elasticsearch/elasticsearch/src/autoload.php'
,
'37a3dc5111fe8f707ab4c132ef1dbc62'
=>
__DIR__
.
'/..'
.
'/guzzlehttp/guzzle/src/functions_include.php'
,
'a9ed0d27b5a698798a89181429f162c5'
=>
__DIR__
.
'/..'
.
'/khanamiryan/qrcode-detector-decoder/lib/Common/customFunctions.php'
,
'3a37ebac017bc098e9a86b35401e7a68'
=>
__DIR__
.
'/..'
.
'/mongodb/mongodb/src/functions.php'
,
'37a3dc5111fe8f707ab4c132ef1dbc62'
=>
__DIR__
.
'/..'
.
'/guzzlehttp/guzzle/src/functions_include.php'
,
'8592c7b0947d8a0965a9e8c3d16f9c24'
=>
__DIR__
.
'/..'
.
'/elasticsearch/elasticsearch/src/autoload.php'
,
);
public
static
$prefixLengthsPsr4
=
array
(
...
...
@@ -1264,9 +1264,9 @@ class ComposerStaticInit48fd9e88279ffd9162a19bdedd5d5a0a
public
static
function
getInitializer
(
ClassLoader
$loader
)
{
return
\Closure
::
bind
(
function
()
use
(
$loader
)
{
$loader
->
prefixLengthsPsr4
=
ComposerStaticInit
48fd9e88279ffd9162a19bdedd5d5a0a
::
$prefixLengthsPsr4
;
$loader
->
prefixDirsPsr4
=
ComposerStaticInit
48fd9e88279ffd9162a19bdedd5d5a0a
::
$prefixDirsPsr4
;
$loader
->
classMap
=
ComposerStaticInit
48fd9e88279ffd9162a19bdedd5d5a0a
::
$classMap
;
$loader
->
prefixLengthsPsr4
=
ComposerStaticInit
90e85a2e64f8339192f3e91b8700b9f2
::
$prefixLengthsPsr4
;
$loader
->
prefixDirsPsr4
=
ComposerStaticInit
90e85a2e64f8339192f3e91b8700b9f2
::
$prefixDirsPsr4
;
$loader
->
classMap
=
ComposerStaticInit
90e85a2e64f8339192f3e91b8700b9f2
::
$classMap
;
},
null
,
ClassLoader
::
class
);
}
...
...
vendor/composer/installed.json
View file @
3b0a3191
...
...
@@ -7,7 +7,7 @@
"source"
:
{
"type"
:
"git"
,
"url"
:
"https://git.yidian-inc.com:8021/bp/php_services.git"
,
"reference"
:
"
9a1982a7a382d51a8b58e121a63248c258d2ca9f
"
"reference"
:
"
6af1722df32913ad981251a0d1c11b77d53be716
"
},
"require"
:
{
"api/php_utils"
:
"dev-master"
,
...
...
@@ -15,7 +15,7 @@
"perftools/php-profiler"
:
"^0.18.0"
,
"php"
:
"7.2.*"
},
"time"
:
"2021-06-29T0
3:09:21
+00:00"
,
"time"
:
"2021-06-29T0
8:49:34
+00:00"
,
"default-branch"
:
true
,
"type"
:
"library"
,
"installation-source"
:
"source"
,
...
...
vendor/composer/installed.php
View file @
3b0a3191
...
...
@@ -6,7 +6,7 @@
'aliases'
=>
array
(
),
'reference'
=>
'
63ee061ebc9d20745b003c183f10caefb377bed6
'
,
'reference'
=>
'
76981b468d0856b108d42431aeb21cc295e6c5e4
'
,
'name'
=>
'yidian/yaf_demo'
,
),
'versions'
=>
...
...
@@ -19,7 +19,7 @@
array
(
0
=>
'9999999-dev'
,
),
'reference'
=>
'
9a1982a7a382d51a8b58e121a63248c258d2ca9f
'
,
'reference'
=>
'
6af1722df32913ad981251a0d1c11b77d53be716
'
,
),
'api/php_utils'
=>
array
(
...
...
@@ -309,7 +309,7 @@
'aliases'
=>
array
(
),
'reference'
=>
'
63ee061ebc9d20745b003c183f10caefb377bed6
'
,
'reference'
=>
'
76981b468d0856b108d42431aeb21cc295e6c5e4
'
,
),
),
);
vendor/composer/tmp-acc40ce5111c3459a82c67cd073c2557~
deleted
100644 → 0
View file @
b8dfa029
File deleted
vendor/composer/tmp-e492e5a9d5cf259e0e996d7ca633bd26~
deleted
100644 → 0
View file @
b8dfa029
File deleted
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment