Last active
July 12, 2019 06:19
-
-
Save haxianhe/e69be41f9399e21b9b12ae8bbe7e2417 to your computer and use it in GitHub Desktop.
Revisions
-
haxianhe revised this gist
Jul 12, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,5 +6,5 @@ public function filterArray($oldArray,$keyArray) return $newArray; } $promotion = array_intersect_key($promotion, array('id', 'promotion_id', 'promotion_actived', 'promotion_title', 'promotion_detail', 'promotion_type', 'promotion_type_name', 'sku_info', 'start_time', 'cancel_time','effect_scene')); -
haxianhe revised this gist
Jul 12, 2019 . No changes.There are no files selected for viewing
-
haxianhe revised this gist
Nov 19, 2018 . No changes.There are no files selected for viewing
-
haxianhe revised this gist
Nov 19, 2018 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,4 +4,7 @@ public function filterArray($oldArray,$keyArray) { $newArray=array_intersect_key($oldArray, array_flip($keyArray)); return $newArray; } $promotion = array_intersect_key($promotion, array_flip(array('id', 'promotion_id', 'promotion_actived', 'promotion_title', 'promotion_detail', 'promotion_type', 'promotion_type_name', 'sku_info', 'start_time', 'cancel_time','effect_scene'))); -
haxianhe revised this gist
Nov 13, 2018 . 1 changed file with 7 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,7 @@ <?php public function filterArray($oldArray,$keyArray) { $newArray=array_intersect_key($oldArray, array_flip($keyArray)); return $newArray; } -
haxianhe created this gist
Nov 13, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ $promotion = array_intersect_key($promotion, array_flip(array('id', 'promotion_id', 'promotion_actived', 'promotion_title', 'promotion_detail', 'promotion_type', 'promotion_type_name', 'sku_info', 'start_time', 'cancel_time')));